22 lines
441 B
JavaScript
22 lines
441 B
JavaScript
/**
|
|
* @param { import("knex").Knex } knex
|
|
* @returns { Promise<void> }
|
|
*/
|
|
exports.up = function(knex) {
|
|
return knex.schema
|
|
.alterTable('counters', table => {
|
|
table.dropColumn('messageTemplate');
|
|
});
|
|
};
|
|
|
|
/**
|
|
* @param { import("knex").Knex } knex
|
|
* @returns { Promise<void> }
|
|
*/
|
|
exports.down = function(knex) {
|
|
return knex.schema
|
|
.alterTable('counters', table => {
|
|
table.string('messageTemplate');
|
|
});
|
|
};
|