Commit 85505aee authored by Kristel Meikas's avatar Kristel Meikas
Browse files

TEIS-2225: added new classifiers for drivers inspections

parent 58a16113
theGroup=ee.sm.ti.teis
theVersion=1.24.0
commonsVersion=1.26.0
officeApiGatewayVersion=1.26.0
theVersion=1.25.0-SNAPSHOT
commonsVersion=1.27.0-SNAPSHOT
officeApiGatewayVersion=1.27.0-SNAPSHOT
schedulerVersion=1.15.0
pluginVersion=1.3.0
--liquibase formatted sql
--changeset kristel:2021-05-31.TEIS-2177.add-drivers-inspections-classifier-data.sql
INSERT INTO classifier_definition (id, default_value, name, editable, hierarchical, ordered, object_status, created_at) VALUES
('DRIVERS_INSPECTION_SETTINGS_STATUS', 'ACTIVE', 'Sõidukijuhtide kontrollis seadistuste (kõrvalekallete ja raskusastmete tüübid) staatus', false, false, true, 'CURRENT', now()),
('DRIVERS_VIOLATION_CATEGORY', null, 'Sõidukijuhtide tööaja nõuetest kõrvalekaldumise teema', true, false, true, 'CURRENT', now());
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
('DRIVERS_INSPECTION_SETTINGS_STATUS__ACTIVE', 'ACTIVE', 'DRIVERS_INSPECTION_SETTINGS_STATUS', null, 'Kasutusel', 1, false, now(), null, 'CURRENT', now()),
('DRIVERS_INSPECTION_SETTINGS_STATUS__INACTIVE', 'INACTIVE', 'DRIVERS_INSPECTION_SETTINGS_STATUS', null, 'Mitte kasutusel', 2, false, now(), null, 'CURRENT', now()),
('DRIVERS_VIOLATION_CATEGORY__REST_BREAK', 'REST_BREAK', 'DRIVERS_VIOLATION_CATEGORY', null, 'Puhkepaus', 1, true, now(), null, 'CURRENT', now()),
('DRIVERS_VIOLATION_CATEGORY__REST_PERIOD', 'REST_PERIOD', 'DRIVERS_VIOLATION_CATEGORY', null, 'Puhkeperiood', 2, true, now(), null, 'CURRENT', now());
UPDATE execution_trigger SET execute = true WHERE id = 'cache-reinitialize';
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