From 3508e476009a325eb0abf3dafdefb995e26c13b1 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sat, 5 Aug 2023 01:38:58 +0200 Subject: [PATCH] Added alt_titles to series table. --- migrations/20230801225038_scene_titles.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/migrations/20230801225038_scene_titles.js b/migrations/20230801225038_scene_titles.js index 7cb3aa4b1..f69154ad1 100644 --- a/migrations/20230801225038_scene_titles.js +++ b/migrations/20230801225038_scene_titles.js @@ -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'); + }); };