misc: migrate to vuetify 2.0 (wip)
This commit is contained in:
13
server/db/migrations-sqlite/2.0.0-beta.242.js
Normal file
13
server/db/migrations-sqlite/2.0.0-beta.242.js
Normal file
@@ -0,0 +1,13 @@
|
||||
exports.up = knex => {
|
||||
return knex.schema
|
||||
.table('users', table => {
|
||||
table.boolean('mustChangePwd').notNullable().defaultTo(false)
|
||||
})
|
||||
}
|
||||
|
||||
exports.down = knex => {
|
||||
return knex.schema
|
||||
.table('users', table => {
|
||||
table.dropColumn('mustChangePwd')
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user