forked from DebaucheryLibrarian/traxxx
Mapping avatar to media ID in orphan delete.
This commit is contained in:
parent
af7fa56e02
commit
7257776ba8
|
@ -761,7 +761,7 @@ async function flushOrphanedMedia() {
|
|||
knex('releases_teasers').select('media_id'),
|
||||
knex('movies_covers').select('media_id'),
|
||||
knex('movies_trailers').select('media_id'),
|
||||
knex('actors_profiles').select('avatar_media_id').as('media_id'),
|
||||
knex('actors_profiles').select(knex.raw('avatar_media_id as media_id')),
|
||||
knex('actors_photos').select('media_id'),
|
||||
knex('clips_photos').select('media_id'),
|
||||
knex('clips_posters').select('media_id'),
|
||||
|
|
Loading…
Reference in New Issue