From 6889e11a91218611893271f5e4db8a43975e18c9 Mon Sep 17 00:00:00 2001 From: jo Date: Sun, 27 Feb 2022 16:31:11 +0100 Subject: [PATCH] fix: don't add track types only on migration --- .../legacy/migrations/0024_3_0_0_alpha_9_2.py | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/api/libretime_api/legacy/migrations/0024_3_0_0_alpha_9_2.py b/api/libretime_api/legacy/migrations/0024_3_0_0_alpha_9_2.py index 46baca19a..e7cc84e38 100644 --- a/api/libretime_api/legacy/migrations/0024_3_0_0_alpha_9_2.py +++ b/api/libretime_api/legacy/migrations/0024_3_0_0_alpha_9_2.py @@ -16,18 +16,18 @@ CREATE TABLE IF NOT EXISTS "cc_track_types" CONSTRAINT "cc_track_types_code_key" UNIQUE ("code") ); -INSERT INTO cc_track_types VALUES (1, 'MUS', 'Music', 'This is used for tracks containing music.', true); -INSERT INTO cc_track_types VALUES (2, 'SID', 'Station ID', 'This is used for Station IDs', true); -INSERT INTO cc_track_types VALUES (3, 'INT', 'Show Intro', 'This can be used for organizing all the show introductions.', true); -INSERT INTO cc_track_types VALUES (4, 'OUT', 'Show Outro', 'This can be used for organizing all the show outroductions.', true); -INSERT INTO cc_track_types VALUES (5, 'SWP', 'Sweeper', 'This is used for segues between songs.', true); -INSERT INTO cc_track_types VALUES (6, 'JIN', 'Jingle', 'A short song or tune, normally played during commercial breaks. Contains one or more hooks.', true); -INSERT INTO cc_track_types VALUES (7, 'PRO', 'Promo', 'For promotional use.', true); -INSERT INTO cc_track_types VALUES (8, 'SHO', 'Shout Out', 'A message of congratulation, greeting. support, or appreciation. ', true); -INSERT INTO cc_track_types VALUES (9, 'NWS', 'News', 'This is used for noteworthy information, announcements.', true); -INSERT INTO cc_track_types VALUES (10, 'COM', 'Commercial', 'This is used for commercial advertising.', true); -INSERT INTO cc_track_types VALUES (11, 'ITV', 'Interview', 'This is used for radio interviews', true); -INSERT INTO cc_track_types VALUES (12, 'VTR', 'Voice Tracking', 'Also referred as robojock or taped. Make announcements without actually being in the station.', true); +-- INSERT INTO cc_track_types VALUES (1, 'MUS', 'Music', 'This is used for tracks containing music.', true); +-- INSERT INTO cc_track_types VALUES (2, 'SID', 'Station ID', 'This is used for Station IDs', true); +-- INSERT INTO cc_track_types VALUES (3, 'INT', 'Show Intro', 'This can be used for organizing all the show introductions.', true); +-- INSERT INTO cc_track_types VALUES (4, 'OUT', 'Show Outro', 'This can be used for organizing all the show outroductions.', true); +-- INSERT INTO cc_track_types VALUES (5, 'SWP', 'Sweeper', 'This is used for segues between songs.', true); +-- INSERT INTO cc_track_types VALUES (6, 'JIN', 'Jingle', 'A short song or tune, normally played during commercial breaks. Contains one or more hooks.', true); +-- INSERT INTO cc_track_types VALUES (7, 'PRO', 'Promo', 'For promotional use.', true); +-- INSERT INTO cc_track_types VALUES (8, 'SHO', 'Shout Out', 'A message of congratulation, greeting. support, or appreciation. ', true); +-- INSERT INTO cc_track_types VALUES (9, 'NWS', 'News', 'This is used for noteworthy information, announcements.', true); +-- INSERT INTO cc_track_types VALUES (10, 'COM', 'Commercial', 'This is used for commercial advertising.', true); +-- INSERT INTO cc_track_types VALUES (11, 'ITV', 'Interview', 'This is used for radio interviews', true); +-- INSERT INTO cc_track_types VALUES (12, 'VTR', 'Voice Tracking', 'Also referred as robojock or taped. Make announcements without actually being in the station.', true); """ DOWN = """