12 lines
308 B
JavaScript
12 lines
308 B
JavaScript
|
exports.up = async function (knex, Promise) {
|
||
|
await knex.schema.table('snippets', table => {
|
||
|
table.dropColumn('is_anonymous');
|
||
|
});
|
||
|
};
|
||
|
|
||
|
exports.down = async function(knex, Promise) {
|
||
|
await knex.schema.table('snippets', table => {
|
||
|
table.integer('is_anonymous').unsigned().notNullable();
|
||
|
});
|
||
|
};
|