Commit 1e4e1812 authored by Kristel Meikas's avatar Kristel Meikas
Browse files

TEIS-2189: added new classifiers for drivers inspections

parent a26c2c62
--liquibase formatted sql
--changeset kristel:2021-07-22.add-drivers-infringement-status
INSERT INTO classifier_definition (id, default_value, name, editable, hierarchical, ordered, object_status, created_at) VALUES
('DRIVERS_INFRINGEMENT_STATUS', 'ACTIVE', 'Sõidukijuhtide tööaja nõuetest kõrvalekaldumise staatus', false, false, true, 'CURRENT', now());
INSERT INTO classifier_item (id, classifier_definition_id, code, editable, name, object_status, seq_no, upper_classifier_item_id, valid_from, valid_until, level) VALUES
('DRIVERS_INFRINGEMENT_STATUS__ACCEPTED', 'DRIVERS_INFRINGEMENT_STATUS', 'ACCEPTED', false, 'Põhjendatud', 'CURRENT', 1, null, now(), null, null),
('DRIVERS_INFRINGEMENT_STATUS__DECLINED', 'DRIVERS_INFRINGEMENT_STATUS', 'DECLINED', false, 'Põhjendmata rikkumine', 'CURRENT', 2, null, now(), null, null),
('DRIVERS_INFRINGEMENT_STATUS__UNIMPORTANT', 'DRIVERS_INFRINGEMENT_STATUS', 'UNIMPORTANT', false, 'Ebaoluline', 'CURRENT', 3, null, now(), null, null);
\ No newline at end of file
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