Fix db scripts
[vchess.git] / db / populate.sql
diff --git a/db/populate.sql b/db/populate.sql
new file mode 100644 (file)
index 0000000..c577a6c
--- /dev/null
@@ -0,0 +1,21 @@
+-- Re-run this script after variants are added
+
+insert or ignore into Variants values
+       ('Alice', 'Both sides of the mirror'),
+       ('Antiking', 'Keep antiking in check'),
+       ('Atomic', 'Explosive captures'),
+       ('Baroque', 'Exotic captures'),
+       ('Berolina', 'Pawns move diagonally'),
+       ('Checkered', 'Shared pieces'),
+       ('Chess960', 'Standard rules'),
+       ('Crazyhouse', 'Captures reborn'),
+       ('Dark', 'In the shadow'),
+       ('Extinction', 'Capture all of a kind'),
+       ('Grand', 'Big board'),
+       ('Losers', 'Lose all pieces'),
+       ('Magnetic', 'Laws of attraction'),
+       ('Marseille', 'Move twice'),
+       ('Switching', 'Exchange pieces positions'),
+       ('Upsidedown', 'Walking on the hands'),
+       ('Wildebeest', 'Balanced sliders & leapers'),
+       ('Zen', 'Reverse captures');