1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-05 05:05:17 +02:00

Add unique constraints and insert data for Canada and Germany

This commit is contained in:
Sean Morley 2024-04-12 01:49:57 +00:00
parent a17234ab6b
commit d9116b2a15
9 changed files with 660 additions and 4 deletions

17
sql/003_ca.sql Normal file
View file

@ -0,0 +1,17 @@
INSERT INTO "worldTravelCountryRegions" (name, country_code)
VALUES
('Alberta', 'ca'),
('British Columbia', 'ca'),
('Manitoba', 'ca'),
('New Brunswick', 'ca'),
('Newfoundland and Labrador', 'ca'),
('Nova Scotia', 'ca'),
('Ontario', 'ca'),
('Prince Edward Island', 'ca'),
('Quebec', 'ca'),
('Saskatchewan', 'ca'),
('Northwest Territories', 'ca'),
('Nunavut', 'ca'),
('Yukon', 'ca')
ON CONFLICT (name) DO NOTHING;