From 9fc38d81e3e98fb302de0ba676f913ff0765305f Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Mon, 18 Nov 2019 16:03:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=B6=88=E6=81=AF=E6=9C=AA?= =?UTF-8?q?=E8=AF=BB=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) 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;