bae0de6cd5
* 🎨 knex-migrator reset [ci skip] * ✨ add migration example - hooks - 1.0 [ci skip] * 🛠 knex-migrator tarball - remove when released [ci skip] * 🎨 jscs/jshint * 🕵🏻 do not drop the database connection when running tests - please read the comments in the commit * 🔥 remove example migration * 🛠 knex-migrator 0.1.0 * 🛠 knex-migrator 0.1.1 - fix a single test to ensure we catch the error * 🛠 knex-migrator 0.1.2 * 🎨 make tests green - added my keyword: kate-migrations - i will go over all TODO's when removing the old migrations code * 🛠 knex-migrator update * 🛠 knex-migrator 0.2.0
11 lines
305 B
JavaScript
11 lines
305 B
JavaScript
#!/usr/bin/env node
|
|
|
|
var config = require('./core/server/config'),
|
|
versioning = require('./core/server/data/schema/versioning');
|
|
|
|
module.exports = {
|
|
currentVersion: versioning.getNewestDatabaseVersion(),
|
|
database: config.get('database'),
|
|
migrationPath: config.get('paths:migrationPath')
|
|
}
|