add CONFIGURED status to bootstrap before READY

This commit is contained in:
lesion
2022-08-02 15:14:34 +02:00
parent 3e98f437b1
commit adbe2ec2a8
4 changed files with 16 additions and 17 deletions

View File

@@ -62,7 +62,7 @@ const db = {
return umzug.up()
},
async initialize () {
if (config.status === 'READY') {
if (config.status === 'CONFIGURED') {
try {
await db.connect()
log.debug('Running migrations')