Added movie teasers table to media flush.

This commit is contained in:
DebaucheryLibrarian 2025-02-26 06:35:35 +01:00
parent 7619c432ab
commit 54c2b51d22
1 changed files with 1 additions and 0 deletions

View File

@ -1046,6 +1046,7 @@ async function flushOrphanedMedia() {
knex('releases_teasers').select('media_id'), knex('releases_teasers').select('media_id'),
knex('movies_covers').select('media_id'), knex('movies_covers').select('media_id'),
knex('movies_trailers').select('media_id'), knex('movies_trailers').select('media_id'),
knex('movies_teasers').select('media_id'),
knex('actors').select(knex.raw('avatar_media_id as media_id')), knex('actors').select(knex.raw('avatar_media_id as media_id')),
knex('actors_profiles').select(knex.raw('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('actors_photos').select('media_id'),