代码拉取完成,页面将自动刷新
/*
Navicat MySQL Data Transfer
Source Server : 121.199.34.41_8001
Source Server Version : 50534
Source Host : 121.199.34.41:8001
Source Database : my_plan
Target Server Type : MYSQL
Target Server Version : 50534
File Encoding : 65001
Date: 2014-09-27 11:46:03
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `company`
-- ----------------------------
DROP TABLE IF EXISTS `company`;
CREATE TABLE `company` (
`id` bigint(20) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`industry` varchar(255) DEFAULT NULL COMMENT '公司行业',
`scale` varchar(255) DEFAULT NULL COMMENT '公司规模',
`address` varchar(255) DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of company
-- ----------------------------
-- ----------------------------
-- Table structure for `group`
-- ----------------------------
DROP TABLE IF EXISTS `group`;
CREATE TABLE `group` (
`id` bigint(20) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`company_id` bigint(20) DEFAULT NULL,
`user_id` bigint(20) DEFAULT NULL COMMENT '创建人',
`description` text,
`created` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of group
-- ----------------------------
-- ----------------------------
-- Table structure for `group_members`
-- ----------------------------
DROP TABLE IF EXISTS `group_members`;
CREATE TABLE `group_members` (
`id` bigint(20) DEFAULT NULL,
`user_id` bigint(20) DEFAULT NULL,
`group_id` bigint(20) DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of group_members
-- ----------------------------
-- ----------------------------
-- Table structure for `group_statuses`
-- ----------------------------
DROP TABLE IF EXISTS `group_statuses`;
CREATE TABLE `group_statuses` (
`id` bigint(20) DEFAULT NULL,
`content` text,
`user_id` bigint(20) DEFAULT NULL,
`group_id` bigint(20) DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of group_statuses
-- ----------------------------
-- ----------------------------
-- Table structure for `task`
-- ----------------------------
DROP TABLE IF EXISTS `task`;
CREATE TABLE `task` (
`id` bigint(20) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`content` text,
`level` int(11) DEFAULT NULL,
`progress` int(11) DEFAULT NULL,
`creator` bigint(20) DEFAULT NULL COMMENT '创建人',
`created` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of task
-- ----------------------------
-- ----------------------------
-- Table structure for `test`
-- ----------------------------
DROP TABLE IF EXISTS `test`;
CREATE TABLE `test` (
`id` bigint(20) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`content` text,
`level` int(11) DEFAULT NULL,
`progress` int(11) DEFAULT NULL,
`creator` bigint(20) DEFAULT NULL COMMENT '创建人',
`created` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of test
-- ----------------------------
-- ----------------------------
-- Table structure for `user`
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`account` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`jobs` varchar(255) DEFAULT NULL,
`age` int(11) DEFAULT NULL,
`gender` int(11) DEFAULT NULL,
`qq` varchar(255) DEFAULT NULL,
`photo` varchar(255) DEFAULT NULL,
`created` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of user
-- ----------------------------
-- ----------------------------
-- Table structure for `user_company`
-- ----------------------------
DROP TABLE IF EXISTS `user_company`;
CREATE TABLE `user_company` (
`id` bigint(20) DEFAULT NULL,
`user_id` bigint(20) DEFAULT NULL,
`company_id` bigint(20) DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of user_company
-- ----------------------------
-- ----------------------------
-- Table structure for `user_task`
-- ----------------------------
DROP TABLE IF EXISTS `user_task`;
CREATE TABLE `user_task` (
`id` bigint(20) DEFAULT NULL,
`user_id` bigint(20) DEFAULT NULL,
`task_id` bigint(20) DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of user_task
-- ----------------------------
-- ----------------------------
-- Table structure for `user_test`
-- ----------------------------
DROP TABLE IF EXISTS `user_test`;
CREATE TABLE `user_test` (
`id` bigint(20) DEFAULT NULL,
`user_id` bigint(20) DEFAULT NULL,
`test_id` bigint(20) DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of user_test
-- ----------------------------
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。