Commit 61d43f6a authored by Siiri's avatar Siiri
Browse files

TEIS-2180: data import fix 2.

parent ba4bbc94
......@@ -2,10 +2,10 @@
--changeset siiri:2021-06-09.TEIS-2180.add-classifier-definitions-and-classifier-items.sql
DELETE FROM classifier_definition WHERE id = 'ACCIDENT_STATUS';
DELETE FROM classifier_definition WHERE id = 'ACCIDENT_INVESTIGATION_STATUS';
DELETE FROM classifier_item WHERE classifier_definition_id = 'ACCIDENT_STATUS';
DELETE FROM classifier_item WHERE classifier_definition_id = 'ACCIDENT_INVESTIGATION_STATUS';
DELETE FROM classifier_definition WHERE id = 'ACCIDENT_STATUS';
DELETE FROM classifier_definition WHERE id = 'ACCIDENT_INVESTIGATION_STATUS';
INSERT INTO classifier_definition (id, default_value, name, editable, hierarchical, ordered, object_status, created_at) VALUES
('ACCIDENT_STATUS', 'PENDING', 'Tööõnnetuse menetlemise staatus', false, false, true, 'CURRENT', now()),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment