Interfacepluginsv0.6.1KpgMigrationsOptionsOptions that describe where migrations live and how the migrator should behave. interface KpgMigrationsOptionsinterface KpgMigrationsOptionsMember overviewPropertiesallowUnorderedMigrationsmigrationLockTableNamemigrationTableNamemigrationTableSchemanameComparatoronStartuppathPropertiesoptionalallowUnorderedMigrationsAllow running migrations even if new ones are inserted out of order readonly allowUnorderedMigrations: booleanreadonly allowUnorderedMigrations: booleanoptionalmigrationLockTableNameCustom lock table name used by the migrator readonly migrationLockTableName: stringreadonly migrationLockTableName: stringoptionalmigrationTableNameCustom table name used to track executed migrations readonly migrationTableName: stringreadonly migrationTableName: stringoptionalmigrationTableSchemaSchema that contains the migration bookkeeping tables readonly migrationTableSchema: stringreadonly migrationTableSchema: stringoptionalnameComparatorComparator that determines execution order for migrations readonly nameComparator: (nameA: string, nameB: string) => numberreadonly nameComparator: (nameA: string, nameB: string) => numberoptionalonStartupBehavior when the plugin connects. truetrue/undefinedundefined runs to latest. readonly onStartup: boolean | MigrationOptionsreadonly onStartup: boolean | MigrationOptionspathDirectory path, single file path, or array of migration files readonly path: string | string[]readonly path: string | string[]
optionalallowUnorderedMigrationsAllow running migrations even if new ones are inserted out of order readonly allowUnorderedMigrations: booleanreadonly allowUnorderedMigrations: boolean
optionalmigrationLockTableNameCustom lock table name used by the migrator readonly migrationLockTableName: stringreadonly migrationLockTableName: string
optionalmigrationTableNameCustom table name used to track executed migrations readonly migrationTableName: stringreadonly migrationTableName: string
optionalmigrationTableSchemaSchema that contains the migration bookkeeping tables readonly migrationTableSchema: stringreadonly migrationTableSchema: string
optionalnameComparatorComparator that determines execution order for migrations readonly nameComparator: (nameA: string, nameB: string) => numberreadonly nameComparator: (nameA: string, nameB: string) => number
optionalonStartupBehavior when the plugin connects. truetrue/undefinedundefined runs to latest. readonly onStartup: boolean | MigrationOptionsreadonly onStartup: boolean | MigrationOptions
pathDirectory path, single file path, or array of migration files readonly path: string | string[]readonly path: string | string[]