Added alt descriptions and attributes columns to series.
This commit is contained in:
13
migrations/20260302222545_series_alt_descriptions.js
Normal file
13
migrations/20260302222545_series_alt_descriptions.js
Normal file
@@ -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');
|
||||||
|
});
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user