Archived
44 lines
3.7 KiB
SQL
44 lines
3.7 KiB
SQL
-- Seed UserGroup
|
|
INSERT INTO UserGroup (id, group_name) VALUES
|
|
('00000000-0000-0000-0000-000000000001', 'Admins'),
|
|
('00000000-0000-0000-0000-000000000002', 'Judges Group A'),
|
|
('00000000-0000-0000-0000-000000000003', 'Judges Group B');
|
|
|
|
-- Seed Users
|
|
INSERT INTO User (id, username, email, group_id, hashed_password, is_active) VALUES
|
|
('11111111-1111-1111-1111-111111111111', 'harsh_critic', NULL, '00000000-0000-0000-0000-000000000001', '$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW', true),
|
|
('22222222-2222-2222-2222-222222222222', 'positive_pat', '[email protected]', '00000000-0000-0000-0000-000000000002', '$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW', true),
|
|
('33333333-3333-3333-3333-333333333333', 'neutral_nancy', NULL, '00000000-0000-0000-0000-000000000003', '$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW', false);
|
|
|
|
-- Seed Contests
|
|
INSERT INTO Contest (id, city_name, date, round, is_active) VALUES
|
|
('aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', 'Rotterdam', '2024-05-10', 'Final', true),
|
|
('bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb', 'Stockholm', '2025-03-15', '1st Semifinal', false);
|
|
|
|
-- Seed Songs (6 entries across 2 contests)
|
|
INSERT INTO Song (id, contest_id, artist_name, song_title, country, tags) VALUES
|
|
-- Rotterdam Final
|
|
('cccccccc-cccc-cccc-cccc-cccccccccccc', 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', 'Loreen', 'Tattoo', 'Sweden', ['obsession', 'eternity']),
|
|
('dddddddd-dddd-dddd-dddd-dddddddddddd', 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', 'Måneskin', 'Zitti e buoni', 'Italy', ['rebellion', 'youth']),
|
|
('eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee', 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', 'Kalush Orchestra', 'Stefania', 'Ukraine', ['family', 'war']),
|
|
|
|
-- Stockholm Semifinal
|
|
('ffffffff-ffff-ffff-ffff-ffffffffffff', 'bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb', 'Käärijä', 'Cha Cha Cha', 'Finland', ['alcohol', 'social pressure']),
|
|
('gggggggg-gggg-gggg-gggg-gggggggggggg', 'bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb', 'KEiiNO', 'Spirit in the Sky', 'Norway', ['nature', 'tradition']),
|
|
('hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh', 'bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb', 'Blanca Paloma', 'Eaea', 'Spain', ['mysticism', 'ritual']);
|
|
|
|
-- Seed Reviews (10 entries with wide score ranges)
|
|
INSERT INTO Reviews (song_id, reviewer_id, song_score, wardrobe_score, stage_show_score, review_text) VALUES
|
|
-- Rotterdam Reviews
|
|
('cccccccc-cccc-cccc-cccc-cccccccccccc', '11111111-1111-1111-1111-111111111111', 15, 20, 10, 'Overrated ballad, staging looked like a screensaver'),
|
|
('cccccccc-cccc-cccc-cccc-cccccccccccc', '22222222-2222-2222-2222-222222222222', 98, 95, 99, 'A masterpiece! Vocals gave me chills'),
|
|
('dddddddd-dddd-dddd-dddd-dddddddddddd', '33333333-3333-3333-3333-333333333333', 65, 70, 75, NULL),
|
|
('eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee', '22222222-2222-2222-2222-222222222222', 88, 82, 90, 'Powerful message, but staging needed more polish'),
|
|
|
|
-- Stockholm Reviews
|
|
('ffffffff-ffff-ffff-ffff-ffffffffffff', '11111111-1111-1111-1111-111111111111', 10, 95, 15, 'Vocally disastrous but fashion-forward'),
|
|
('ffffffff-ffff-ffff-ffff-ffffffffffff', '22222222-2222-2222-2222-222222222222', 85, 90, 88, 'Pure energy! Crowd loved it'),
|
|
('gggggggg-gggg-gggg-gggg-gggggggggggg', '33333333-3333-3333-3333-333333333333', 72, 68, 65, 'Cultural elements were interesting'),
|
|
('gggggggg-gggg-gggg-gggg-gggggggggggg', '11111111-1111-1111-1111-111111111111', 40, 35, 50, 'Joik section felt out of place'),
|
|
('hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh', '22222222-2222-2222-2222-222222222222', 92, 85, 88, 'Haunting and unique - my dark horse favorite'),
|
|
('hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh', '33333333-3333-3333-3333-333333333333', 78, 65, 70, NULL); |