-- Deploy gaia:api_2019_04_29_add_triggr_for_user_change to mysql

BEGIN;

CREATE TABLE `api_user_change_log` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `user_id` integer NOT NULL ,
    `change_type` smallint(6) NOT NULL,
    `operate_type` smallint(6) NOT NULL,
    `comment` varchar(128) DEFAULT NULL,

    KEY `IDX_CREATE_TIME` (`create_time`)
);

COMMIT;

