mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed await for db initialization
refs #12568
- Was missed during the refactor in 62c2a1a05d
This commit is contained in:
parent
815f67492c
commit
75cacc460b
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ const isDatabaseInitialisationRequired = async () => {
|
|||
|
||||
// CASE: db initialisation required, wait till finished
|
||||
if (dbState === 2) {
|
||||
return migrator.dbInit();
|
||||
await migrator.dbInit();
|
||||
}
|
||||
|
||||
// CASE: is db incompatible? e.g. you can't connect a 0.11 database with Ghost 1.0 or 2.0
|
||||
|
|
Loading…
Add table
Reference in a new issue