mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2026-01-27 15:58:58 -05:00
Add unique constraints to featuredAdventures and worldTravelCountryRegions tables, and insert data for Canada, Germany, and the US regions.
This commit is contained in:
17
sql/ca.sql
Normal file
17
sql/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;
|
||||
Reference in New Issue
Block a user