12 lines
239 B
JavaScript
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');
|
||
|
});
|
||
|
};
|