创建消息未读记录

master
tpingzhang 5 years ago
parent e9b234df02
commit 9fc38d81e3

@ -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;

Loading…
Cancel
Save