traxxx/migrations/20230801225038_scene_titles.js

20 lines
477 B
JavaScript
Raw Normal View History

exports.up = async (knex) => {
await knex.schema.alterTable('releases', (table) => {
table.specificType('alt_titles', 'text ARRAY');
});
2023-08-03 21:24:23 +00:00
await knex.schema.alterTable('movies', (table) => {
table.specificType('alt_titles', 'text ARRAY');
});
};
exports.down = async (knex) => {
await knex.schema.alterTable('releases', (table) => {
table.dropColumn('alt_titles');
});
2023-08-03 21:24:23 +00:00
await knex.schema.alterTable('movies', (table) => {
table.dropColumn('alt_titles');
});
};