wikijs-fork/server/db/migrations-sqlite/2.0.0-beta.217.js

14 lines
277 B
JavaScript

exports.up = knex => {
return knex.schema
.table('locales', table => {
table.integer('availability').notNullable().defaultTo(0)
})
}
exports.down = knex => {
return knex.schema
.table('locales', table => {
table.dropColumn('availability')
})
}