USE vault_display;

INSERT INTO settings (setting_key, setting_value)
VALUES ('emergency_override', '0')
ON DUPLICATE KEY UPDATE setting_value = VALUES(setting_value);

INSERT INTO content_items (id, title, content_type, html_content, is_active)
VALUES
(
1001,
'Full Matrix Campaign Demo',
'html',
'<div class="pricing-board"><h1>Next Theme</h1><div class="line">Websites • Branding • Signage • Marketing</div><div class="line">Everything your trade business needs in one place</div></div>',
1
),
(
1002,
'Emergency Notice Demo',
'notice',
'<div class="pricing-board"><h1>Notice</h1><div class="line">Please speak to a member of staff</div><div class="line">Next Theme display override active</div></div>',
1
)
ON DUPLICATE KEY UPDATE
    title = VALUES(title),
    content_type = VALUES(content_type),
    html_content = VALUES(html_content),
    is_active = VALUES(is_active);

INSERT INTO playlist_items (playlist_id, content_id, sort_order, duration_seconds, is_active)
VALUES
(8, 1001, 1, 20, 1),
(9, 1002, 1, 20, 1)
ON DUPLICATE KEY UPDATE
    sort_order = VALUES(sort_order),
    duration_seconds = VALUES(duration_seconds),
    is_active = VALUES(is_active);
