diff --git a/migrations/20231107044032_photocount.js b/migrations/20231107044032_photocount.js index 637621a00..cb065c948 100644 --- a/migrations/20231107044032_photocount.js +++ b/migrations/20231107044032_photocount.js @@ -2,10 +2,18 @@ exports.up = async (knex) => { await knex.schema.alterTable('releases', (table) => { table.integer('photo_count'); }); + + await knex.schema.alterTable('movies', (table) => { + table.integer('photo_count'); + }); }; exports.down = async (knex) => { await knex.schema.alterTable('releases', (table) => { table.dropColumn('photo_count'); }); + + await knex.schema.alterTable('movies', (table) => { + table.dropColumn('photo_count'); + }); };