Added movie alt descriptions column to last migration.

This commit is contained in:
DebaucheryLibrarian 2026-02-07 05:56:08 +01:00
parent 7a7c6e92f6
commit a41134555a
1 changed files with 8 additions and 0 deletions

View File

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