14 lines
277 B
JavaScript
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')
|
||
|
})
|
||
|
}
|