traxxx/migrations/20221003001803_entity_showc...

9 lines
245 B
JavaScript
Executable File

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');
});