代码拉取完成,页面将自动刷新
/*
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;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。