1 Star 0 Fork 0

jason19659/jfinalbbs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jfinalbbs.sql 5.46 KB
一键复制 编辑 原始数据 按行查看 历史
uwjxas 提交于 2015-04-26 16:42 . JFinal社区第一次更新
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50163
Source Host : localhost
Source Database : jfinalbbs
Target Server Version : 50163
File Encoding : utf-8
Date: 04/26/2015 16:35:26 PM
*/
SET NAMES utf8;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for `admin_user`
-- ----------------------------
DROP TABLE IF EXISTS `admin_user`;
CREATE TABLE `admin_user` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(45) DEFAULT NULL,
`password` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for `code`
-- ----------------------------
DROP TABLE IF EXISTS `code`;
CREATE TABLE `code` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`code` varchar(32) DEFAULT NULL,
`in_time` datetime DEFAULT NULL,
`expire_time` datetime DEFAULT NULL,
`status` int(11) DEFAULT NULL COMMENT '0未使用 1已使用',
`type` varchar(45) DEFAULT NULL COMMENT '验证码类型',
`target` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for `collect`
-- ----------------------------
DROP TABLE IF EXISTS `collect`;
CREATE TABLE `collect` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`tid` varchar(32) DEFAULT NULL,
`author_id` varchar(32) DEFAULT NULL,
`in_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
-- ----------------------------
-- Table structure for `link`
-- ----------------------------
DROP TABLE IF EXISTS `link`;
CREATE TABLE `link` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(45) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`display_index` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for `mission`
-- ----------------------------
DROP TABLE IF EXISTS `mission`;
CREATE TABLE `mission` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`score` int(11) DEFAULT NULL,
`author_id` varchar(32) DEFAULT NULL,
`in_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=89 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
-- ----------------------------
-- Table structure for `notification`
-- ----------------------------
DROP TABLE IF EXISTS `notification`;
CREATE TABLE `notification` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`message` varchar(255) DEFAULT NULL,
`read` int(11) DEFAULT NULL COMMENT '是否已读:0默认 1已读',
`from_author_id` varchar(32) DEFAULT NULL,
`author_id` varchar(32) DEFAULT NULL,
`tid` varchar(32) DEFAULT NULL,
`rid` varchar(32) DEFAULT NULL,
`in_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
-- ----------------------------
-- Table structure for `reply`
-- ----------------------------
DROP TABLE IF EXISTS `reply`;
CREATE TABLE `reply` (
`id` varchar(32) NOT NULL DEFAULT '',
`tid` varchar(32) DEFAULT NULL,
`content` longtext,
`in_time` datetime DEFAULT NULL,
`modify_time` datetime DEFAULT NULL,
`quote` varchar(32) DEFAULT NULL COMMENT '0:未引用 非0:引用楼层id',
`quote_content` longtext,
`quote_author_nickname` varchar(50) DEFAULT NULL,
`author_id` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
-- ----------------------------
-- Table structure for `section`
-- ----------------------------
DROP TABLE IF EXISTS `section`;
CREATE TABLE `section` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(45) DEFAULT NULL,
`tab` varchar(45) DEFAULT NULL,
`display_index` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for `topic`
-- ----------------------------
DROP TABLE IF EXISTS `topic`;
CREATE TABLE `topic` (
`id` varchar(32) NOT NULL DEFAULT '',
`s_id` int(11) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`content` longtext,
`in_time` datetime DEFAULT NULL,
`modify_time` datetime DEFAULT NULL,
`view` int(11) DEFAULT NULL,
`author_id` varchar(32) DEFAULT NULL,
`reposted` int(11) DEFAULT NULL COMMENT '1:转载 0:原创',
`original_url` varchar(255) DEFAULT NULL COMMENT '原文连接',
`top` int(11) DEFAULT NULL COMMENT '1置顶 0默认',
`good` int(11) DEFAULT NULL COMMENT '1精华 0默认',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
-- ----------------------------
-- Table structure for `user`
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` varchar(32) NOT NULL,
`nickname` varchar(50) DEFAULT NULL,
`gender` varchar(10) DEFAULT NULL,
`score` int(11) DEFAULT NULL,
`thirdlogin_type` varchar(10) DEFAULT NULL,
`token` varchar(255) DEFAULT NULL,
`expire_time` datetime DEFAULT NULL,
`avatar` varchar(255) DEFAULT NULL,
`mission` date DEFAULT NULL,
`in_time` datetime DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`open_id` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `TOKEN_UNIQUE` (`token`),
UNIQUE KEY `EMAIL_UNIQUE` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
SET FOREIGN_KEY_CHECKS = 1;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jason19659/jfinalbbs.git
git@gitee.com:jason19659/jfinalbbs.git
jason19659
jfinalbbs
jfinalbbs
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385