mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
Add missing column in table 'users'
This commit is contained in:
parent
939b5c52f7
commit
b9cad8e4d5
@ -28,6 +28,7 @@ let init = function(db){
|
|||||||
table.string('username')
|
table.string('username')
|
||||||
table.string('password')
|
table.string('password')
|
||||||
table.string('token')
|
table.string('token')
|
||||||
|
table.integer('enabled')
|
||||||
table.integer('timestamp')
|
table.integer('timestamp')
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
db.table('users').where({username: 'root'}).then((user) => {
|
db.table('users').where({username: 'root'}).then((user) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user