mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
🎨 add knexMigratorFilePath for knex-migrator initialisation (#7583)
no issue - if we don't pass our root path, it can happen that knex-migrator get's the wrong path when looking for the .knex-migrator file
This commit is contained in:
parent
d2d0d80f83
commit
133b7e00fd
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,9 @@ var debug = require('debug')('ghost:boot:init'),
|
|||
scheduling = require('./scheduling'),
|
||||
readDirectory = require('./utils/read-directory'),
|
||||
utils = require('./utils'),
|
||||
knexMigrator = new KnexMigrator(),
|
||||
knexMigrator = new KnexMigrator({
|
||||
knexMigratorFilePath: config.get('paths:appRoot')
|
||||
}),
|
||||
dbHash;
|
||||
|
||||
function initDbHashAndFirstRun() {
|
||||
|
|
Loading…
Add table
Reference in a new issue