diff --git a/migrations/20260302222545_series_alt_descriptions.js b/migrations/20260302222545_series_alt_descriptions.js new file mode 100644 index 00000000..bb06310a --- /dev/null +++ b/migrations/20260302222545_series_alt_descriptions.js @@ -0,0 +1,13 @@ +exports.up = async function(knex) { + await knex.schema.alterTable('series', (table) => { + table.specificType('alt_descriptions', 'text ARRAY'); + table.json('attributes'); + }); +}; + +exports.down = async function(knex) { + await knex.schema.alterTable('series', (table) => { + table.dropColumn('alt_descriptions'); + table.dropColumn('attributes'); + }); +};