ALTER TABLE
    `ohrm_travel_information` ADD `travel_duration` INT(11)  NULL AFTER `travel_period_to`;

UPDATE ohrm_travel_information SET `travel_duration` = DATEDIFF(`travel_period_to`, `travel_period_from`) where `travel_period_from` IS NOT  NULL AND `travel_period_to` IS NOT NULL AND `travel_duration` IS NULL;

INSERT INTO `ohrm_workflow_state_machine` (`workflow`, `state`, `role`, `action`, `resulting_state`, `roles_to_notify`, `screens_to_show`, `priority`)
VALUES
    ('CLAIM_REQUEST', 'APPROVED', 'ADMIN', 'Paid', 'PAID', '', '{"viewPriorityOrder":100}', 0),
    ('CLAIM_REQUEST', 'PAID', 'ADMIN', 'Read', 'PAID', '', '{"visibility":false}', 0),
    ('CLAIM_REQUEST', 'PAID', 'SUPERVISOR', 'Read', 'PAID', '', '{"visibility":false}', 0),
    ('CLAIM_REQUEST', 'APPROVED', 'ADMIN', 'Update', 'APPROVED', '', '{"visibility":false}', 0);
