Refactor data insertion via Drizzle
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
INSERT INTO "worldTravelCountryRegions" (id, name, country_code)
|
||||
VALUES
|
||||
('GB-ENG', 'England', 'gb'),
|
||||
('GB-NIR', 'Northern Ireland', 'gb'),
|
||||
('GB-SCT', 'Scotland', 'gb'),
|
||||
('GB-WLS', 'Wales', 'gb')
|
||||
-- INSERT INTO "worldTravelCountryRegions" (id, name, country_code)
|
||||
-- VALUES
|
||||
-- ('GB-ENG', 'England', 'gb'),
|
||||
-- ('GB-NIR', 'Northern Ireland', 'gb'),
|
||||
-- ('GB-SCT', 'Scotland', 'gb'),
|
||||
-- ('GB-WLS', 'Wales', 'gb')
|
||||
|
||||
ON CONFLICT (id) DO NOTHING;
|
||||
-- ON CONFLICT (id) DO NOTHING;
|
||||
|
||||
Reference in New Issue
Block a user