comparison schema/tap_tests_data.sql @ 4126:52f7264265bb

Bulk-delete tracked entries per table Especially when many entries in one table are tracked by one import, this makes declining an import a lot faster.
author Tom Gottfried <tom@intevation.de>
date Thu, 01 Aug 2019 17:02:09 +0200
parents b785b6bef578
children 5e38667f740c
comparison
equal deleted inserted replaced
4125:0f69d256fa12 4126:52f7264265bb
15 -- 15 --
16 -- Test data used in *_tests.sql scripts 16 -- Test data used in *_tests.sql scripts
17 -- 17 --
18 18
19 INSERT INTO countries VALUES ('AT'), ('RO'), ('DE'); 19 INSERT INTO countries VALUES ('AT'), ('RO'), ('DE');
20 INSERT INTO language_codes VALUES ('DE');
21 INSERT INTO depth_references VALUES ('ZPG');
20 22
21 INSERT INTO users.responsibility_areas VALUES 23 INSERT INTO users.responsibility_areas VALUES
22 ('AT', ST_geomfromtext('MULTIPOLYGON(((0 0, 0 1, 1 1, 1 0, 0 0)))', 4326)), 24 ('AT', ST_geomfromtext('MULTIPOLYGON(((0 0, 0 1, 1 1, 1 0, 0 0)))', 4326)),
23 ('RO', ST_geomfromtext('MULTIPOLYGON(((1 0, 1 1, 2 1, 2 0, 1 0)))', 4326)); 25 ('RO', ST_geomfromtext('MULTIPOLYGON(((1 0, 1 1, 2 1, 2 0, 1 0)))', 4326));
24 26