Add example units to the database in a migration.

main
Mari 2 years ago
parent 61b04327f0
commit 1e93bf7ed9
  1. 11
      migrations/committed/000018-add-example-units-to-database.sql

@ -0,0 +1,11 @@
--! Previous: sha1:3a9ed9f26777390a1dccadc516bade27ffddf684
--! Hash: sha1:f03c81c8d0ca3976d4b6fe4792ee7558d1c2c2f1
--! Message: Add example units to database
INSERT INTO Unit(name, subtitle, description, tierid, basehealth, basestrength)
VALUES ('Lady Bootstrap', 'Time Traveler', '???', 's', 55, 20),
('Melpomene', 'Muse of Tragedy', '???', 'a', 40, 23),
('Sharla', 'Skark Girl', '???', 'b', 33, 19),
('Herja', 'Viking Warrior', '???', 'c', 26, 16),
('Nicole', 'Predator Podcaster', '???', 'c', 19, 17)
ON CONFLICT ON CONSTRAINT unit_name_subtitle_key DO NOTHING;
Loading…
Cancel
Save