pg-flyway
Version:
Migration tool for PostgreSQL database, NodeJS version of Java migration tool - flyway (not wrapper for https://flywaydb.org/documentation/commandline)
28 lines (27 loc) • 1.23 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PG_FLYWAY_DEFAULT_CREATE_EMPTY_MIGRATION_CONFIG = exports.PG_FLYWAY_DEFAULT_INFO_CONFIG = exports.PG_FLYWAY_DEFAULT_MIGRATE_CONFIG = exports.PG_FLYWAY_CONFIG_NAME = exports.PG_FLYWAY_DEFAULT_HISTORY_SCHEMA = exports.PG_FLYWAY_DEFAULT_HISTORY_TABLE = void 0;
exports.PG_FLYWAY_DEFAULT_HISTORY_TABLE = '__migrations';
exports.PG_FLYWAY_DEFAULT_HISTORY_SCHEMA = 'public';
exports.PG_FLYWAY_CONFIG_NAME = 'pgFlyway';
exports.PG_FLYWAY_DEFAULT_MIGRATE_CONFIG = {
dryRun: 'false',
config: exports.PG_FLYWAY_CONFIG_NAME,
databaseUrl: '',
locations: 'migrations',
historyTable: exports.PG_FLYWAY_DEFAULT_HISTORY_TABLE,
historySchema: exports.PG_FLYWAY_DEFAULT_HISTORY_SCHEMA,
sqlMigrationSuffixes: '.sql',
sqlMigrationSeparator: '__',
sqlMigrationStatementSeparator: '--',
};
exports.PG_FLYWAY_DEFAULT_INFO_CONFIG = {
databaseUrl: '',
historyTable: exports.PG_FLYWAY_DEFAULT_HISTORY_TABLE,
historySchema: exports.PG_FLYWAY_DEFAULT_HISTORY_SCHEMA,
};
exports.PG_FLYWAY_DEFAULT_CREATE_EMPTY_MIGRATION_CONFIG = {
locations: 'migrations',
sqlMigrationSuffixes: '.sql',
sqlMigrationSeparator: '__',
};