traxxx/migrations/20221003001803_entity_showc...

9 lines
245 B
JavaScript
Raw Permalink Normal View History

exports.up = async (knex) => knex.schema.alterTable('entities', (table) => {
table.boolean('showcased')
.defaultTo(true);
});
exports.down = async (knex) => knex.schema.alterTable('entities', (table) => {
table.dropColumn('showcased');
});