-- 003_seed_data.sql
-- Default venue settings and built-in chip sets
-- Applied on every fresh database

-- Default venue settings (DKK, Denmark)
INSERT OR IGNORE INTO venue_settings (id, venue_name, currency_code, currency_symbol, rounding_denomination, receipt_mode, timezone)
VALUES (1, '', 'DKK', 'kr', 5000, 'digital', 'Europe/Copenhagen');

-- Standard chip set (universal denominations)
INSERT OR IGNORE INTO chip_sets (id, name, is_builtin) VALUES (1, 'Standard', 1);

INSERT OR IGNORE INTO chip_denominations (chip_set_id, value, color_hex, label, sort_order) VALUES
    (1, 25,   '#FFFFFF', '25',   1),
    (1, 100,  '#FF0000', '100',  2),
    (1, 500,  '#00AA00', '500',  3),
    (1, 1000, '#000000', '1000', 4),
    (1, 5000, '#0000FF', '5000', 5);

-- Copenhagen chip set (DKK-friendly denominations)
INSERT OR IGNORE INTO chip_sets (id, name, is_builtin) VALUES (2, 'Copenhagen', 1);

INSERT OR IGNORE INTO chip_denominations (chip_set_id, value, color_hex, label, sort_order) VALUES
    (2, 100,   '#FFFFFF', '100',   1),
    (2, 500,   '#FF0000', '500',   2),
    (2, 1000,  '#00AA00', '1000',  3),
    (2, 5000,  '#000000', '5000',  4),
    (2, 10000, '#0000FF', '10000', 5);
