Слияние кода завершено, страница обновится автоматически
/*
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
-- ----------------------------
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )