mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
b474fb0d16
refs #9178
15 lines
451 B
JavaScript
15 lines
451 B
JavaScript
var config = require('./core/server/config'),
|
|
ghostVersion = require('./core/server/lib/ghost-version');
|
|
|
|
/**
|
|
* knex-migrator can be used via CLI or within the application
|
|
* when using the CLI, we need to ensure that our global overrides are triggered
|
|
*/
|
|
require('./core/server/overrides');
|
|
|
|
module.exports = {
|
|
currentVersion: ghostVersion.safe,
|
|
database: config.get('database'),
|
|
migrationPath: config.get('paths:migrationPath')
|
|
};
|