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:
parent
a17234ab6b
commit
d9116b2a15
9 changed files with 660 additions and 4 deletions
17
sql/003_ca.sql
Normal file
17
sql/003_ca.sql
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue