DEPRECATED: Use umzeption
instead, the successor to this module
An extension of the knex migrator. Initial version based on knex 0.7, still works on knex 0.12
Started out based on some PR:s to knex itself:
Then got the addition of child migrations and later also a command for fresh installs
True to its Knex roots it extends the knexfile.js
:
{
client: 'pg',
connection: config.db,
migrations: {
dependencies: {
'prefix-of-child': 'foo'
},
install: __dirname + '/install-schema',
directory: __dirname + '/migrations',
},
}
Two examples: