CC-5111: Please make upgrade detect the tracks already scheduled and added in playlist

Added in detection of tracks belonging to static smart blocks
This commit is contained in:
denise 2013-05-09 08:55:54 -04:00
parent 7946d1e511
commit 43738b3298
1 changed files with 4 additions and 0 deletions

View File

@ -11,3 +11,7 @@ WHERE id IN (SELECT DISTINCT(file_id) FROM cc_schedule WHERE playout_status != -
UPDATE cc_files
SET is_playlist = true
WHERE id IN (SELECT DISTINCT(file_id) FROM cc_playlistcontents);
UPDATE cc_files
SET is_playlist = true
WHERE id IN (SELECT DISTINCT(file_id) FROM cc_blockcontents);