Added alt_titles to series table.

This commit is contained in:
DebaucheryLibrarian 2023-08-05 01:38:58 +02:00
parent eef0be09b3
commit 3508e47600
1 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,10 @@ exports.up = async (knex) => {
await knex.schema.alterTable('movies', (table) => {
table.specificType('alt_titles', 'text ARRAY');
});
await knex.schema.alterTable('series', (table) => {
table.specificType('alt_titles', 'text ARRAY');
});
};
exports.down = async (knex) => {
@ -16,4 +20,8 @@ exports.down = async (knex) => {
await knex.schema.alterTable('movies', (table) => {
table.dropColumn('alt_titles');
});
await knex.schema.alterTable('series', (table) => {
table.dropColumn('alt_titles');
});
};