mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-11 08:43:59 +03:00
24332c3d24
no issue Part of the effort to break up the Ghost codebase into smaller, decoupled modules.
15 lines
441 B
JavaScript
15 lines
441 B
JavaScript
const config = require('./core/shared/config');
|
|
const ghostVersion = require('@tryghost/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')
|
|
};
|