ramirez/db/migrations/20190609193213_add_expires_...

12 lines
300 B
JavaScript

exports.up = async function(knex, Promise) {
await knex.schema.table("blocked_users", table => {
table.dateTime("expires_at").nullable();
});
};
exports.down = async function(knex, Promise) {
await knex.schema.table("blocked_users", table => {
table.dropColumn("expires_at");
});
};