Added Inn of Sinn, added Lil Sis to Nubiles.
This commit is contained in:
21
migrations/20231201040310_tagsplit.js
Normal file
21
migrations/20231201040310_tagsplit.js
Normal file
@@ -0,0 +1,21 @@
|
||||
exports.up = async (knex) => {
|
||||
await knex.schema.alterTable('tags', (table) => {
|
||||
table.specificType('implied_tag_ids', 'integer[]');
|
||||
});
|
||||
|
||||
await knex.schema.alterTable('releases_tags', (table) => {
|
||||
table.enum('source', ['scraper', 'editor', 'implied'])
|
||||
.notNullable()
|
||||
.defaultTo('scraper');
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = async (knex) => {
|
||||
await knex.schema.alterTable('tags', (table) => {
|
||||
table.dropColumn('implied_tag_ids');
|
||||
});
|
||||
|
||||
await knex.schema.alterTable('releases_tags', (table) => {
|
||||
table.dropColumn('source');
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user