Fixed photo query in Aziana scraper.

This commit is contained in:
DebaucheryLibrarian
2023-08-03 23:24:23 +02:00
parent 2ebc2d441f
commit b287f5c2db
4 changed files with 15 additions and 3 deletions

View File

@@ -5,7 +5,8 @@ exports.up = async (knex) => {
table.integer('release_id')
.notNullable()
.references('id')
.inTable('releases');
.inTable('releases')
.onDelete('cascade');
table.text('media_id')
.notNullable()