mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
9 lines
358 B
JavaScript
9 lines
358 B
JavaScript
|
const config = require('./shared/config');
|
||
|
const logging = require('./shared/logging');
|
||
|
|
||
|
module.exports.ready = async () => {
|
||
|
const DatabaseStateManager = require('./server/data/db/state-manager');
|
||
|
const dbStateManager = new DatabaseStateManager({knexMigratorFilePath: config.get('paths:appRoot')});
|
||
|
await dbStateManager.makeReady({logging});
|
||
|
};
|