forked from DebaucheryLibrarian/traxxx
Improved actor mapping in release associations. Storing alias ID in actor release association.
This commit is contained in:
@@ -682,6 +682,11 @@ exports.up = knex => Promise.resolve()
|
||||
.inTable('actors')
|
||||
.onDelete('cascade');
|
||||
|
||||
table.integer('alias_id', 12)
|
||||
.references('id')
|
||||
.inTable('actors')
|
||||
.onDelete('cascade');
|
||||
|
||||
table.unique(['release_id', 'actor_id']);
|
||||
|
||||
table.datetime('created_at')
|
||||
|
||||
Reference in New Issue
Block a user