2016-10-17 15:50:29 +03:00
|
|
|
#!/usr/bin/env node
|
|
|
|
|
2016-11-07 14:39:49 +03:00
|
|
|
var config = require('./core/server/config'),
|
|
|
|
versioning = require('./core/server/data/schema/versioning');
|
2016-10-17 15:50:29 +03:00
|
|
|
|
|
|
|
module.exports = {
|
2016-11-07 14:39:49 +03:00
|
|
|
currentVersion: versioning.getNewestDatabaseVersion(),
|
2016-10-17 15:50:29 +03:00
|
|
|
database: config.get('database'),
|
|
|
|
migrationPath: config.get('paths:migrationPath')
|
|
|
|
}
|