2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
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

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