Ghost/MigratorConfig.js

9 lines
285 B
JavaScript
Raw Normal View History

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