主题 : jeebbs4发送消息出错,查出原因了,怎么修改好? |
级别: 秀才
![]() |
1# 发表于:2016-11-02 12:01:16 IP:182.189.*.*
|
||||
---|---|---|---|---|---|
级别: 秀才
![]() |
2# 发表于:2016-11-02 12:02:57 IP:182.189.*.*
mysql数据库
-- Table structure for `jb_message_reply` -- ---------------------------- DROP TABLE IF EXISTS `jb_message_reply`; CREATE TABLE `jb_message_reply` ( `reply_id` int(11) NOT NULL AUTO_INCREMENT , `msg_id` int(11) NOT NULL DEFAULT 0 , `sender` int(11) NULL DEFAULT NULL , `receiver` int(11) NOT NULL DEFAULT 0 , `content` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `create_time` datetime NULL DEFAULT NULL , `is_read` tinyint(3) NOT NULL DEFAULT 0 , PRIMARY KEY (`reply_id`), INDEX `fk_jb_reply_sender` USING BTREE (`sender`), INDEX `fk_jb_reply_receiver` USING BTREE (`receiver`), INDEX `fk_jb_reply_msg` USING BTREE (`msg_id`) ) |
||
---|---|---|---|
级别: 举人
![]() |
5# 发表于:2017-02-08 10:10:25 IP:202.149.*.*
回复第2楼
正解。 sql语句: alter table `jb_message_reply` drop column `is_notification`, add column `is_notification` boolean NULL after `is_read` |
||
---|---|---|---|
1
共1页