1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/wangwei123-my_plan

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
my_plan.sql 5.1 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
wangwei Отправлено 27.09.2014 07:46 ea737ae
/*
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 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/wangwei123-my_plan.git
git@api.gitlife.ru:oschina-mirror/wangwei123-my_plan.git
oschina-mirror
wangwei123-my_plan
wangwei123-my_plan
master