Merged migrations.
This commit is contained in:
@@ -1148,6 +1148,8 @@ exports.seed = (knex) => Promise.resolve()
|
||||
media_id: mediaIdsByPath[photo.path],
|
||||
}));
|
||||
|
||||
console.log(tagPosterEntries);
|
||||
|
||||
await Promise.all([
|
||||
upsert('tags_posters', tagPosterEntries, 'tag_id', knex),
|
||||
upsert('tags_photos', tagPhotoEntries, ['tag_id', 'media_id'], knex),
|
||||
|
||||
Reference in New Issue
Block a user