-- Deploy gaia:2020_10_26_create_table_hippo_merchant_contract to mysql

BEGIN;

-- XXX Add DDLs here.
CREATE TABLE hippo_merchant_contract (
		id int AUTO_INCREMENT PRIMARY key COMMENT 'ID',
		merchant_id bigint COMMENT '商户ID',
		cash_back_rate_str varchar(100) COMMENT '抽拥比例（用于显示）',
		start_time datetime COMMENT '开始时间',
		end_time datetime COMMENT '结束时间',
		create_time datetime COMMENT '创建时间',
		update_time datetime COMMENT '更新时间'
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT'商户合同' ;


COMMIT;
