diff --git a/migrations/20260203052449_scene_attributes.js b/migrations/20260203052449_scene_attributes.js new file mode 100644 index 00000000..93b3644d --- /dev/null +++ b/migrations/20260203052449_scene_attributes.js @@ -0,0 +1,19 @@ +exports.up = async (knex) => { + await knex.schema.alterTable('releases', (table) => { + table.json('attributes'); + }); + + await knex.schema.alterTable('movies', (table) => { + table.json('attributes'); + }); +}; + +exports.down = async (knex) => { + await knex.schema.alterTable('releases', (table) => { + table.dropColumn('attributes'); + }); + + await knex.schema.alterTable('movies', (table) => { + table.dropColumn('attributes'); + }); +};