模块1:交流区
帖子 :
title:
create table `title` if not exist {
'id' int(11) NOT NULL AUTO_INCREMENT COMMENT '文章id',
'user_id' int(11) NOT NULL COMMENT '用户id',
'university_id' int(4) DEFAULT NULL COMMNET '学校id',
'major_id' int(4) DEFAULT NULL COMMNET '考研专业id,可选',
'plate_id' int(4) NOT NULL COMMNET '发贴板块,必选'
'title' varchar(100) NOT NULL COMMENT '帖子标题',
'content' varchar(500) NOT NULL COMMENT '帖子内容',
'comment_count' int(4) DEFAULT 0 COMMENT '评论次数',
'start_date' datetime DEFAULT NULL COMMNET '创建时间',
'end_date' datetime DEFAULT NULL COMMENT '更新时间',
primary key (`id`)
)ENGINE = InnoDB AUTO_INCREMENT = 4 CHARSET = utf7;
}
create `reply
answer