# HG changeset patch # User Tom Gottfried # Date 1568646933 -7200 # Node ID b0c974fc7d3405a34077b266d4aa059955623bb8 # Parent 9c6c65a628a33b19051a5517dcaa986e36118bb1 Fixup rev. 5e38667f740c Some countries are now hard-wired into the schema definition. Thus, avoid the conflict when writing test data to the test database. diff -r 9c6c65a628a3 -r b0c974fc7d34 schema/tap_tests_data.sql --- a/schema/tap_tests_data.sql Mon Sep 16 17:15:18 2019 +0200 +++ b/schema/tap_tests_data.sql Mon Sep 16 17:15:33 2019 +0200 @@ -16,7 +16,8 @@ -- Test data used in *_tests.sql scripts -- -INSERT INTO countries VALUES ('AT'), ('RO'), ('DE'); +INSERT INTO countries VALUES ('AT'), ('RO'), ('DE') + ON CONFLICT (country_code) DO NOTHING; INSERT INTO language_codes VALUES ('DE'); INSERT INTO depth_references VALUES ('ZPG');