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

20
sql/004_de.sql Normal file
View File

@@ -0,0 +1,20 @@
INSERT INTO "worldTravelCountryRegions" (name, country_code)
VALUES
('Baden-Württemberg', 'de'),
('Bavaria', 'de'),
('Berlin', 'de'),
('Brandenburg', 'de'),
('Bremen', 'de'),
('Hamburg', 'de'),
('Hesse', 'de'),
('Lower Saxony', 'de'),
('Mecklenburg-Vorpommern', 'de'),
('North Rhine-Westphalia', 'de'),
('Rhineland-Palatinate', 'de'),
('Saarland', 'de'),
('Saxony', 'de'),
('Saxony-Anhalt', 'de'),
('Schleswig-Holstein', 'de'),
('Thuringia', 'de')
ON CONFLICT (name) DO NOTHING;