2023-08-02 00:14:41 +00:00
|
|
|
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');
|
|
|
|
});
|
2023-08-04 23:38:58 +00:00
|
|
|
|
|
|
|
await knex.schema.alterTable('series', (table) => {
|
|
|
|
table.specificType('alt_titles', 'text ARRAY');
|
|
|
|
});
|
2023-08-02 00:14:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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');
|
|
|
|
});
|
2023-08-04 23:38:58 +00:00
|
|
|
|
|
|
|
await knex.schema.alterTable('series', (table) => {
|
|
|
|
table.dropColumn('alt_titles');
|
|
|
|
});
|
2023-08-02 00:14:41 +00:00
|
|
|
};
|