diff --git a/Data/update.sql b/Data/update.sql index bf9c3dd30..e2401456e 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -410,3 +410,13 @@ ALTER TABLE `tab_spend` ADD COLUMN `exists` int(11) NOT NULL DEFAULT 0 COMMENT '0 不存在 1存在' AFTER `withdraw_id`, ADD COLUMN `pay_url` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL AFTER `exists`; +--创建消息未读记录 +CREATE TABLE `tab_notice_read` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `notice_id` int(11) NOT NULL COMMENT '广告id', + `game_id` int(11) DEFAULT NULL, + `user_id` int(11) NOT NULL COMMENT '用户id', + `is_read` tinyint(2) DEFAULT '0' COMMENT '0未读1已读', + `create_time` int(11) DEFAULT NULL COMMENT '创建时间', + PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;