ramirez/db/migrations/20190306204728_add_schedule...

12 lines
341 B
JavaScript
Raw Normal View History

exports.up = async function(knex, Promise) {
await knex.schema.table('threads', table => {
table.integer('scheduled_close_silent').nullable().after('scheduled_close_name');
});
};
exports.down = async function(knex, Promise) {
await knex.schema.table('threads', table => {
table.dropColumn('scheduled_close_silent');
});
};