Fixed beforeFetchScenes not running for update releases. Fixed Hookup Hotshot deep scrape broken due missing NATS cookie.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
exports.up = async function(knex) {
|
||||
// we want to be able to assign unidentified actors
|
||||
await knex.raw(`
|
||||
ALTER TABLE releases_actors
|
||||
ALTER COLUMN actor_id DROP NOT NULL
|
||||
`);
|
||||
|
||||
await knex.schema.alterTable('releases_actors', (table) => {
|
||||
table.increments('id');
|
||||
table.string('gender');
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = async function(knex) {
|
||||
await knex.raw(`
|
||||
ALTER TABLE releases_actors
|
||||
ALTER COLUMN actor_id SET NOT NULL
|
||||
`);
|
||||
|
||||
await knex.schema.alterTable('releases_actors', (table) => {
|
||||
table.dropColumn('id');
|
||||
table.dropColumn('gender');
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user