Deno script validates vocabulary.csv and startbestand.csv and generates the idempotent SQL, key list and checks.sql. startbestand.csv stays header-only; vocabulary.csv is a proposal pending approval (C0). seed.sql no longer inserts genres and mechanics. Refs #2 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
9 lines
697 B
SQL
9 lines
697 B
SQL
-- Beispieldaten nur für die lokale Entwicklung (supabase db reset). Nicht für Produktion.
|
|
-- Genres und Mechaniken kommen aus supabase/catalog/vocabulary.sql (KAT-05), nicht von hier:
|
|
-- seed.sql läuft zuerst, ein Begriff mit zufälliger ID würde das Vokabular verdrängen.
|
|
insert into public.categories (name_de, name_en) values
|
|
('Wirtschaft', 'Economic'), ('Fantasy', 'Fantasy'), ('Abenteuer', 'Adventure'), ('Zivilisation', 'Civilization')
|
|
on conflict do nothing;
|
|
|
|
insert into public.games (title, description, year, min_players, max_players, min_minutes, max_minutes, min_age, visibility)
|
|
values ('Beispielspiel', 'Platzhalter für die Entwicklung.', 2020, 2, 4, 30, 60, 8, 'catalog');
|