Merge pull request #75 from pyraxo/master

Add missing column in table 'users'
This commit is contained in:
Kana 2018-02-22 13:22:57 -03:00 committed by GitHub
commit 1a77649ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) => {