traxxx/migrations/_20230703000556_campaign_ht...

12 lines
239 B
JavaScript
Raw Permalink Normal View History

2023-07-05 22:14:38 +00:00
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');
});
};