Ghost/MigratorConfig.js
Katharina Irrgang 89ef60fdba 🛠 knex-migrator 1.0.0 (#7873)
refs #7489 

Most important change is the naming of the knex-migrator config file.
2017-01-23 12:32:17 +01:00

9 lines
285 B
JavaScript

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')
};