traxxx/migrations/_20230703000556_campaign_ht...

12 lines
239 B
JavaScript

exports.up = async (knex) => {
await knex.schema.alterTable('banners', (table) => {
table.text('html');
});
};
exports.down = async (knex) => {
await knex.schema.alterTable('banners', (table) => {
table.dropColumn('html');
});
};