traxxx/migrations/20220331135618_qualities.js

8 lines
241 B
JavaScript
Executable File

exports.up = async (knex) => knex.schema.alterTable('releases', (table) => {
table.specificType('qualities', 'text[]');
});
exports.down = async (knex) => knex.schema.alterTable('releases', (table) => {
table.dropColumn('qualities');
});