CC-3859: Playout History: Filter out songs that are not played out

- db change and upgrade.
This commit is contained in:
James 2012-05-22 16:11:25 -04:00
parent 438bc93133
commit 6da923ace1
7 changed files with 112 additions and 14 deletions

View file

@ -86,6 +86,7 @@ ALTER TABLE cc_schedule
DROP COLUMN group_id,
DROP COLUMN schedule_group_played,
ADD COLUMN playout_status smallint DEFAULT 1 NOT NULL,
ADD COLUMN broadcasted smallint DEFAULT 0 NOT NULL,
ALTER COLUMN clip_length TYPE interval /* TYPE change - table: cc_schedule original: time without time zone new: interval */,
ALTER COLUMN clip_length SET DEFAULT '00:00:00'::interval,
ALTER COLUMN cue_in TYPE interval /* TYPE change - table: cc_schedule original: time without time zone new: interval */,