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

14 lines
277 B
JavaScript
Raw Normal View History

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')
})
}