This commit is contained in:
Daniel Odendahl Jr
2017-05-08 13:48:10 +00:00
parent 8ba552b21a
commit 5846742336
16 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -12,10 +12,10 @@ class Database {
.then(() => console.log('[Database] Synchronizing...'))
.then(() => database.sync()
.then(() => console.log('[Database] Synchronizing complete!'))
.catch (err => console.error(`[Database] Error synchronizing: ${err}`))
.catch(err => console.error(`[Database] Error synchronizing: ${err}`))
)
.then(() => console.log('[Database] Ready!'))
.catch (err => console.error(`[Database] Unable to connect: ${err}`));
.catch(err => console.error(`[Database] Unable to connect: ${err}`));
}
}