aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--database/db.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/database/db.js b/database/db.js
index f1ec75a..b329749 100644
--- a/database/db.js
+++ b/database/db.js
@@ -28,6 +28,7 @@ let init = function(db){
table.string('username')
table.string('password')
table.string('token')
+ table.integer('enabled')
table.integer('timestamp')
}).then(() => {
db.table('users').where({username: 'root'}).then((user) => {
@@ -47,4 +48,4 @@ let init = function(db){
})
}
-module.exports = init \ No newline at end of file
+module.exports = init