-- Deploy gaia:2019-09-05-add_colunm_protectphone to mysql

BEGIN;

alter table api_protectphone add column (`event_id` varchar(64), `event_type` integer, `is_online` bool NOT NULL default 1);
alter table api_protectphonelog add column (`create_time` datetime(6), `update_time` datetime(6), `event_type` integer, `protect_phone_id` integer NOT NULL);

COMMIT;
