-- Deploy gaia:hippo_20180124_ad_deduct to mysql

BEGIN;

CREATE TABLE `hippo_ad_whitelist` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `doctor_id` varchar(100) NOT NULL,
    `created_time` datetime(6) NOT NULL
);

CREATE TABLE `hippo_pvovernorm` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `doctor_id` varchar(100) NOT NULL,
    `pv_total` integer NOT NULL,
    `cal_month` integer NOT NULL
);

COMMIT;
