Commit 68a84225 authored by Siiri Tann's avatar Siiri Tann
Browse files

Merge branch 'TEIS-2180-4' into 'develop'

TEIS-2180: data import fix 2.

Closes TEIS-2180

See merge request teis/classifiers-service!95
parents ba4bbc94 61d43f6a
......@@ -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