traxxx/migrations/20230725031547_stealth_batc...

14 lines
290 B
JavaScript
Raw Permalink Normal View History

2023-07-25 01:22:24 +00:00
exports.up = async (knex) => {
await knex.schema.alterTable('batches', (table) => {
table.boolean('showcased')
.notNullable()
.defaultTo(true);
});
};
exports.down = async (knex) => {
await knex.schema.alterTable('batches', (table) => {
table.dropColumn('showcased');
});
};