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'); + }); };