This is where we use our setup function to add tables if none are present in our database file.

This commit is contained in:
2017-12-01 10:27:46 +01:00
parent ac6bbe6ac6
commit b8647f982d

View File

@@ -10,6 +10,6 @@ const database = new SqliteDatabase(configuration.get('database', 'host'));
*/
Promise.resolve()
.then(() => database.connect())
// .then(() => database.setUp());
.then(() => database.setUp());
module.exports = database;