-- Deploy gaia:hippo_2019_08_23_add_table_userlist to mysql

BEGIN;

-- XXX Add DDLs here.
CREATE TABLE `hippo_userlist` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `merchant_id` bigint NOT NULL,
    `user_id` integer NOT NULL,
    `doctor_user_id` integer NULL,
    `amount` bigint  NULL DEFAULT 0,
    `browse_id` integer NULL,
    `conversation_id` integer NULL,
    `order_pay_id` varchar(64)  NULL,
    `order_validated_id` varchar(64) NULL,
    `user_remarks` varchar(256)  NULL,
    `browse_time` datetime NULL,
    `order_pay_time` datetime(6)  NULL,
    `order_validated_time` datetime NULL ,
    `conversation_created_time` datetime NULL ,
    `modify_time` datetime NULL

);
COMMIT;
