kopia lustrzana https://github.com/FacilMap/facilmap
Do not start server before migrations are finished
rodzic
dd6cce4c62
commit
86342837bd
|
@ -31,7 +31,7 @@ class Database extends events.EventEmitter {
|
|||
return this._conn.authenticate().then(() => {
|
||||
return this._conn.sync({ force: !!force });
|
||||
}).then(() => {
|
||||
this._runMigrations()
|
||||
return this._runMigrations()
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue