-- Deploy gaia:2019_07_10_add_user_push_click to mysql

BEGIN;

CREATE TABLE `maidian_push_click_user` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `is_online` tinyint(1) NOT NULL,
  `create_time` datetime(6) NOT NULL,
  `update_time` datetime(6) NOT NULL,
  `is_deleted` tinyint(1) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `day` date NOT NULL,
  PRIMARY KEY (`id`),
  KEY `mpc_user_id_idx` (`user_id`),
  KEY `mpc_day_idx` (`day`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

COMMIT;
