--liquibase formatted sql

--changeset enson:update_pick_execution_issue

ALTER TABLE pick_execution_issue
CHANGE COLUMN handle_status handle_status ENUM('pending', 'handled', 'resolved', "Jopending", "Johandled", "Joresloved") NULL DEFAULT 'pending' ;

ALTER TABLE do_pick_order
ADD COLUMN do_order_id INT NULL AFTER pick_order_id,
ADD COLUMN ticket_release_time DATETIME NULL DEFAULT NULL AFTER handled_by,
CHANGE COLUMN handled_by handled_by INT NULL ;

ALTER TABLE do_pick_order_record
ADD COLUMN do_order_id INT NULL AFTER pick_order_id,
ADD COLUMN ticket_release_time DATETIME NULL DEFAULT NULL AFTER handled_by,
CHANGE COLUMN handled_by handled_by INT NULL ;