forked from DebaucheryLibrarian/traxxx
Using bulk insert utility for alert notifications to prevent duplicate errors.
This commit is contained in:
@@ -910,7 +910,8 @@ exports.up = knex => Promise.resolve()
|
||||
table.text('media_id', 21)
|
||||
.notNullable()
|
||||
.references('id')
|
||||
.inTable('media');
|
||||
.inTable('media')
|
||||
.onDelete('cascade');
|
||||
|
||||
table.unique('movie_id');
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user