pg-flyway
Version:
Migration tool for PostgreSQL database, NodeJS version of Java migration tool - flyway (not wrapper for https://flywaydb.org/documentation/commandline)
19 lines (18 loc) • 631 B
TypeScript
import { Migration } from './migration';
export type Collection = {
filedir?: string;
callback: {
beforeMigrate?: Migration[];
beforeRepeatables?: Migration[];
beforeEachMigrate?: Migration[];
beforeEachMigrateStatement?: Migration[];
afterEachMigrateStatement?: Migration[];
afterEachMigrateStatementError?: Migration[];
afterEachMigrate?: Migration[];
afterEachMigrateError?: Migration[];
afterMigrate?: Migration[];
afterMigrateApplied?: Migration[];
afterVersioned?: Migration[];
afterMigrateError?: Migration[];
};
};