mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-30 23:01:34 +00:00
Merge pull request #75 from pyraxo/master
Add missing column in table 'users'
This commit is contained in:
commit
1a77649ce3
@ -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
|
||||
module.exports = init
|
||||
|
Loading…
Reference in New Issue
Block a user