-- Deploy gaia:fix_assist_prize to mysql

BEGIN;

-- XXX Add DDLs here.
CREATE TABLE `api_activity_user_wechat` (
  `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) NOT NULL,
  `third_info_id` int(11) NOT NULL,
  `activity_type` int(5) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

ALTER TABLE `api_assister` DROP COLUMN `thirdrecord_id`;


COMMIT;
