Skip to content
Interfaceplugin-kysely-postgresv0.6.0

MigrationOptions

Behavior configuration for migrations that should run automatically when a database connection is established.

interface MigrationOptions

direction

Direction to move along the migration timeline.

readonly direction?: 'latest' | 'up' | 'down'

Default:'latest'

steps

Number of steps to apply when direction is up or down.

readonly steps?: number

target

Optional target migration to reach.

readonly target?: MigrationTarget

Default:the latest migration