mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-01 19:25: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
|
@ -14,5 +14,5 @@ VALUES
|
|||
('Australia', 'au', 'Oceania'),
|
||||
('New Zealand', 'nz', 'Oceania'),
|
||||
('South Africa', 'za', 'Africa'),
|
||||
('Egypt', 'eg', 'Africa'),
|
||||
('Egypt', 'eg', 'Africa')
|
||||
ON CONFLICT (country_code) DO NOTHING;
|
|
@ -49,6 +49,6 @@ VALUES
|
|||
('Washington', 'us'),
|
||||
('West Virginia', 'us'),
|
||||
('Wisconsin', 'us'),
|
||||
('Wyoming', 'us');
|
||||
('Wyoming', 'us')
|
||||
|
||||
ON CONFLICT (name) DO NOTHING;
|
|
@ -12,6 +12,6 @@ VALUES
|
|||
('Saskatchewan', 'ca'),
|
||||
('Northwest Territories', 'ca'),
|
||||
('Nunavut', 'ca'),
|
||||
('Yukon', 'ca');
|
||||
('Yukon', 'ca')
|
||||
|
||||
ON CONFLICT (name) DO NOTHING;
|
|
@ -15,6 +15,6 @@ VALUES
|
|||
('Saxony', 'de'),
|
||||
('Saxony-Anhalt', 'de'),
|
||||
('Schleswig-Holstein', 'de'),
|
||||
('Thuringia', 'de');
|
||||
('Thuringia', 'de')
|
||||
|
||||
ON CONFLICT (name) DO NOTHING;
|
Loading…
Add table
Add a link
Reference in a new issue