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:
parent
7946d1e511
commit
43738b3298
install_minimal/upgrades/airtime-2.4.0/data
|
@ -11,3 +11,7 @@ WHERE id IN (SELECT DISTINCT(file_id) FROM cc_schedule WHERE playout_status != -
|
||||||
UPDATE cc_files
|
UPDATE cc_files
|
||||||
SET is_playlist = true
|
SET is_playlist = true
|
||||||
WHERE id IN (SELECT DISTINCT(file_id) FROM cc_playlistcontents);
|
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);
|
||||||
|
|
Loading…
Reference in New Issue