From a41134555a286bf958ef2a09d0648731e2913fa2 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sat, 7 Feb 2026 05:56:08 +0100 Subject: [PATCH] Added movie alt descriptions column to last migration. --- migrations/20260207034922_chapter_details.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/migrations/20260207034922_chapter_details.js b/migrations/20260207034922_chapter_details.js index 8521ff8c..e30d2d23 100644 --- a/migrations/20260207034922_chapter_details.js +++ b/migrations/20260207034922_chapter_details.js @@ -34,6 +34,10 @@ exports.up = async function(knex) { await knex.schema.alterTable('entities', (table) => { table.string('name_stylized'); }); + + await knex.schema.alterTable('movies', (table) => { + table.specificType('alt_descriptions', 'text ARRAY'); + }); }; exports.down = async function(knex) { @@ -47,4 +51,8 @@ exports.down = async function(knex) { await knex.schema.dropTable('chapters_trailers'); await knex.schema.dropTable('chapters_teasers'); + + await knex.schema.alterTable('movies', (table) => { + table.dropColumn('alt_descriptions'); + }); };