Commit ba4bbc94 authored by Siiri Tann's avatar Siiri Tann
Browse files

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

TEIS-2180: data import fix.

Closes TEIS-2180

See merge request teis/classifiers-service!94
parents 339cffbd d30bf1c3
--liquibase formatted sql
--changeset siiri:2021-06-01.TEIS-2180.add-classifier-definitions-and-classifier-items.sql
--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';
......@@ -14,7 +14,7 @@ INSERT INTO classifier_definition (id, default_value, name, editable, hierarchic
INSERT INTO classifier_item (id, code, classifier_definition_id, upper_classifier_item_id, name, seq_no, editable, valid_from, valid_until, object_status, created_at) VALUES
('ACCIDENT_STATUS__PENDING', 'PENDING', 'ACCIDENT_STATUS', null, 'Registreerimisel', 1, false, now(), null, 'CURRENT', now()),
('ACCIDENT_STATUS__IN_PROGRESS', 'IN_PROGRESS', 'ACCIDENT_STATUS', null, 'Tööandja uurimisel', 2, false, now(), null, 'CURRENT', now()),
('ACCIDENT_STATUS__IN_REVIEW', 'IN_REVIEW', 'ACCIDENT_STATUS', null, 'Ülevaatamisel', 3, false, now(), null, 'CURRENT', now()),
('ACCIDENT_STATUS__UNDER_REVIEW', 'UNDER_REVIEW', 'ACCIDENT_STATUS', null, 'Ülevaatamisel', 3, false, now(), null, 'CURRENT', now()),
('ACCIDENT_STATUS__CONFIRMED', 'CONFIRMED', 'ACCIDENT_STATUS', null, 'Andmed kinnitatud', 4, false, now(), null, 'CURRENT', now()),
('ACCIDENT_STATUS__CANCELED', 'CANCELED', 'ACCIDENT_STATUS', null, 'Tühistatud', 5, false, now(), null, 'CURRENT', now()),
('ACCIDENT_INVESTIGATION_STATUS__UNSPECIFIED', 'UNSPECIFIED', 'ACCIDENT_INVESTIGATION_STATUS', null, 'Määramata', 1, false, now(), null, '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