-- Deploy gaia:create_table_statistic_baidu_promotion to mysql

BEGIN;

CREATE TABLE `statistic_baidu_promotion` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `idfa` varchar(64) NOT NULL UNIQUE,
    `client_ip` varchar(64) NULL,
    `create_time` datetime(6) NOT NULL,
    `active_time` datetime(6) NULL,
    `callback` varchar(1024) NULL
    );

COMMIT;
