You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6779 lines
252 KiB
6779 lines
252 KiB
6 years ago
|
|
||
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||
|
/*!40101 SET NAMES utf8 */;
|
||
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
||
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||
|
DROP TABLE IF EXISTS `activities`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `activities` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`act_id` int(11) NOT NULL,
|
||
|
`act_type` varchar(255) NOT NULL,
|
||
|
`user_id` int(11) NOT NULL,
|
||
|
`activity_container_id` int(11) DEFAULT NULL,
|
||
|
`activity_container_type` varchar(255) DEFAULT '',
|
||
|
`created_at` datetime DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_activities_on_user_id` (`user_id`),
|
||
|
KEY `index_activities_on_act_id_and_act_type` (`act_id`,`act_type`),
|
||
|
KEY `index_activities_on_user_id_and_act_type` (`user_id`,`act_type`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=124468 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `activity_notifies`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `activity_notifies` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`activity_container_id` int(11) DEFAULT NULL,
|
||
|
`activity_container_type` varchar(255) DEFAULT NULL,
|
||
|
`activity_id` int(11) DEFAULT NULL,
|
||
|
`activity_type` varchar(255) DEFAULT NULL,
|
||
|
`notify_to` int(11) DEFAULT NULL,
|
||
|
`created_on` datetime DEFAULT NULL,
|
||
|
`is_read` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_an_notify_to` (`notify_to`),
|
||
|
KEY `index_an_created_on` (`created_on`),
|
||
|
KEY `index_an_activity_container_id` (`activity_container_id`,`activity_container_type`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1294 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `api_keys`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `api_keys` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`access_token` varchar(255) DEFAULT NULL,
|
||
|
`expires_at` datetime DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`active` tinyint(1) DEFAULT '1',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_api_keys_on_user_id` (`user_id`),
|
||
|
KEY `index_api_keys_on_access_token` (`access_token`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2906 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `applied_contests`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `applied_contests` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`contest_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`role` varchar(255) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_applied_contests_on_contest_id` (`contest_id`),
|
||
|
KEY `index_applied_contests_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=112 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `applied_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `applied_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`applied_id` int(11) DEFAULT NULL,
|
||
|
`applied_type` varchar(255) DEFAULT NULL,
|
||
|
`viewed` int(11) DEFAULT '0',
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`applied_user_id` int(11) DEFAULT NULL,
|
||
|
`role` int(11) DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=6189 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `applied_projects`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `applied_projects` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) NOT NULL,
|
||
|
`user_id` int(11) NOT NULL,
|
||
|
`role` int(11) DEFAULT '0',
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=859 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `apply_actions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `apply_actions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`reason` varchar(255) DEFAULT NULL,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`dealer_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`status` tinyint(4) DEFAULT '0',
|
||
|
`apply_reason` text,
|
||
|
`noticed` tinyint(1) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=11512 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `apply_add_departments`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `apply_add_departments` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`department_id` int(11) DEFAULT NULL,
|
||
|
`school_id` int(11) DEFAULT NULL,
|
||
|
`remarks` text,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_apply_add_departments_on_department_id` (`department_id`),
|
||
|
KEY `index_apply_add_departments_on_school_id` (`school_id`),
|
||
|
KEY `index_apply_add_departments_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=734 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `apply_add_schools`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `apply_add_schools` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`province` varchar(255) DEFAULT NULL,
|
||
|
`city` varchar(255) DEFAULT NULL,
|
||
|
`address` varchar(255) DEFAULT NULL,
|
||
|
`remarks` varchar(255) DEFAULT NULL,
|
||
|
`school_id` int(11) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1024 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `apply_homeworks`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `apply_homeworks` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`homework_common_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_apply_homeworks_on_user_id` (`user_id`),
|
||
|
KEY `index_apply_homeworks_on_homework_common_id` (`homework_common_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `apply_project_masters`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `apply_project_masters` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`apply_type` varchar(255) DEFAULT NULL,
|
||
|
`apply_id` int(11) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `apply_resources`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `apply_resources` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`attachment_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`content` text,
|
||
|
`apply_user_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `apply_user_authentications`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `apply_user_authentications` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`auth_type` int(11) DEFAULT NULL,
|
||
|
`remarks` varchar(255) DEFAULT NULL,
|
||
|
`dealer` int(11) DEFAULT NULL,
|
||
|
`deal_time` datetime DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`is_delete` tinyint(1) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_apply_user_authentications_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1257 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `article_homepages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `article_homepages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`title` varchar(255) DEFAULT NULL,
|
||
|
`content` text,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`homepage_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_article_homepages_on_user_id` (`user_id`),
|
||
|
KEY `index_article_homepages_on_homepage_id` (`homepage_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1632 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `at_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `at_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`at_message_id` int(11) DEFAULT NULL,
|
||
|
`at_message_type` varchar(255) DEFAULT NULL,
|
||
|
`viewed` tinyint(1) DEFAULT '0',
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`sender_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_at_messages_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=4562 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `attachment_group_settings`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `attachment_group_settings` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`attachment_id` int(11) DEFAULT NULL,
|
||
|
`course_group_id` int(11) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`publish_time` datetime DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_attachment_group_settings_on_attachment_id` (`attachment_id`),
|
||
|
KEY `index_attachment_group_settings_on_course_group_id` (`course_group_id`),
|
||
|
KEY `index_attachment_group_settings_on_course_id` (`course_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=56 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `attachment_histories`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `attachment_histories` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`filename` varchar(255) DEFAULT '',
|
||
|
`disk_filename` varchar(255) DEFAULT '',
|
||
|
`filesize` int(11) DEFAULT '0',
|
||
|
`content_type` varchar(255) DEFAULT '',
|
||
|
`digest` varchar(40) DEFAULT '',
|
||
|
`downloads` int(11) DEFAULT '0',
|
||
|
`author_id` int(11) DEFAULT NULL,
|
||
|
`created_on` datetime DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`disk_directory` varchar(255) DEFAULT NULL,
|
||
|
`attachtype` int(11) DEFAULT NULL,
|
||
|
`is_public` int(11) DEFAULT NULL,
|
||
|
`copy_from` int(11) DEFAULT NULL,
|
||
|
`quotes` int(11) DEFAULT NULL,
|
||
|
`version` int(11) DEFAULT NULL,
|
||
|
`attachment_id` int(11) DEFAULT NULL,
|
||
|
`is_publish` int(11) DEFAULT '1',
|
||
|
`publish_time` date DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=358 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `attachments`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `attachments` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(30) DEFAULT NULL,
|
||
|
`filename` varchar(255) NOT NULL DEFAULT '',
|
||
|
`disk_filename` varchar(255) NOT NULL DEFAULT '',
|
||
|
`filesize` int(11) NOT NULL DEFAULT '0',
|
||
|
`content_type` varchar(255) DEFAULT '',
|
||
|
`digest` varchar(40) NOT NULL DEFAULT '',
|
||
|
`downloads` int(11) NOT NULL DEFAULT '0',
|
||
|
`author_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`created_on` datetime DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`disk_directory` varchar(255) DEFAULT NULL,
|
||
|
`attachtype` int(11) DEFAULT '1',
|
||
|
`is_public` int(11) DEFAULT '1',
|
||
|
`copy_from` int(11) DEFAULT NULL,
|
||
|
`quotes` int(11) DEFAULT NULL,
|
||
|
`is_publish` int(11) DEFAULT '1',
|
||
|
`publish_time` datetime DEFAULT NULL,
|
||
|
`resource_bank_id` int(11) DEFAULT NULL,
|
||
|
`unified_setting` tinyint(1) DEFAULT '1',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_attachments_on_author_id` (`author_id`),
|
||
|
KEY `index_attachments_on_created_on` (`created_on`),
|
||
|
KEY `index_attachments_on_container_id_and_container_type` (`container_id`,`container_type`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=206533 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `attachmentstypes`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `attachmentstypes` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`typeId` int(11) NOT NULL,
|
||
|
`typeName` varchar(50) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `attendances`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `attendances` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`score` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `user` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=24510 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `auth_sources`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `auth_sources` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`type` varchar(30) NOT NULL DEFAULT '',
|
||
|
`name` varchar(60) NOT NULL DEFAULT '',
|
||
|
`host` varchar(60) DEFAULT NULL,
|
||
|
`port` int(11) DEFAULT NULL,
|
||
|
`account` varchar(255) DEFAULT NULL,
|
||
|
`account_password` varchar(255) DEFAULT '',
|
||
|
`base_dn` varchar(255) DEFAULT NULL,
|
||
|
`attr_login` varchar(30) DEFAULT NULL,
|
||
|
`attr_firstname` varchar(30) DEFAULT NULL,
|
||
|
`attr_lastname` varchar(30) DEFAULT NULL,
|
||
|
`attr_mail` varchar(30) DEFAULT NULL,
|
||
|
`onthefly_register` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`tls` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`filter` varchar(255) DEFAULT NULL,
|
||
|
`timeout` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_auth_sources_on_id_and_type` (`id`,`type`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `authentications`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `authentications` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`level` tinyint(4) DEFAULT NULL,
|
||
|
`permissions` text,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `authentications_users`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `authentications_users` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`authentication_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1949 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `biding_projects`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `biding_projects` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`bid_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`description` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`reward` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=86 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `bids`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `bids` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`budget` varchar(255) NOT NULL,
|
||
|
`author_id` int(11) DEFAULT NULL,
|
||
|
`deadline` date DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`created_on` datetime NOT NULL,
|
||
|
`updated_on` datetime NOT NULL,
|
||
|
`commit` int(11) DEFAULT NULL,
|
||
|
`reward_type` int(11) DEFAULT NULL,
|
||
|
`homework_type` int(11) DEFAULT NULL,
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`password` varchar(255) DEFAULT NULL,
|
||
|
`is_evaluation` int(11) DEFAULT NULL,
|
||
|
`proportion` int(11) DEFAULT '60',
|
||
|
`comment_status` int(11) DEFAULT '0',
|
||
|
`evaluation_num` int(11) DEFAULT '3',
|
||
|
`open_anonymous_evaluation` int(11) DEFAULT '1',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=761 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `blog_comments`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `blog_comments` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`blog_id` int(11) NOT NULL,
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`title` varchar(255) NOT NULL DEFAULT '',
|
||
|
`content` text,
|
||
|
`author_id` int(11) DEFAULT NULL,
|
||
|
`comments_count` int(11) NOT NULL DEFAULT '0',
|
||
|
`last_comment_id` int(11) DEFAULT NULL,
|
||
|
`created_on` datetime NOT NULL,
|
||
|
`updated_on` datetime NOT NULL,
|
||
|
`locked` tinyint(1) DEFAULT '0',
|
||
|
`sticky` int(11) DEFAULT '0',
|
||
|
`reply_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`root_id` int(11) DEFAULT NULL,
|
||
|
`visits` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_blog_comments_on_root_id` (`root_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=620 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `blog_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `blog_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`blog_message_id` int(11) DEFAULT NULL,
|
||
|
`blog_id` int(11) DEFAULT NULL,
|
||
|
`blog_message_type` varchar(255) DEFAULT NULL,
|
||
|
`viewed` tinyint(1) DEFAULT '0',
|
||
|
`content` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`user_operator_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `blogs`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `blogs` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) NOT NULL DEFAULT '',
|
||
|
`description` text,
|
||
|
`position` int(11) DEFAULT '1',
|
||
|
`article_count` int(11) NOT NULL DEFAULT '0',
|
||
|
`comments_count` int(11) NOT NULL DEFAULT '0',
|
||
|
`last_comments_id` int(11) DEFAULT NULL,
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`author_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`homepage_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=24115 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `boards`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `boards` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) NOT NULL,
|
||
|
`name` varchar(255) NOT NULL DEFAULT '',
|
||
|
`description` varchar(255) DEFAULT NULL,
|
||
|
`position` int(11) DEFAULT '1',
|
||
|
`topics_count` int(11) NOT NULL DEFAULT '0',
|
||
|
`messages_count` int(11) NOT NULL DEFAULT '0',
|
||
|
`last_message_id` int(11) DEFAULT NULL,
|
||
|
`parent_id` int(11) DEFAULT '0',
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`org_subfield_id` int(11) DEFAULT NULL,
|
||
|
`contest_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `boards_project_id` (`project_id`),
|
||
|
KEY `index_boards_on_last_message_id` (`last_message_id`),
|
||
|
KEY `parent` (`parent_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=5852 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `bug_to_osps`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `bug_to_osps` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`osp_id` int(11) DEFAULT NULL,
|
||
|
`relative_memo_id` int(11) DEFAULT NULL,
|
||
|
`description` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `challenge_chooses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `challenge_chooses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`subject` text,
|
||
|
`challenge_id` int(11) DEFAULT NULL,
|
||
|
`standard_answer` varchar(255) DEFAULT NULL,
|
||
|
`answer` text,
|
||
|
`score` int(11) DEFAULT NULL,
|
||
|
`difficult` int(11) DEFAULT '1',
|
||
|
`category` int(11) DEFAULT NULL,
|
||
|
`position` int(11) DEFAULT '1',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=277 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `challenge_questions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `challenge_questions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`option_name` text,
|
||
|
`challenge_choose_id` int(11) DEFAULT NULL,
|
||
|
`right_key` tinyint(1) DEFAULT NULL,
|
||
|
`position` tinyint(4) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2146 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `challenge_samples`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `challenge_samples` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`input` varchar(255) DEFAULT NULL,
|
||
|
`output` varchar(255) DEFAULT NULL,
|
||
|
`challenge_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`game_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `challenge_tags`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `challenge_tags` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`challenge_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`challenge_choose_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=13972 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `challenges`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `challenges` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`subject` varchar(255) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`status` tinyint(4) DEFAULT '0',
|
||
|
`position` tinyint(4) DEFAULT '1',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`task_pass` longtext,
|
||
|
`answer` longtext,
|
||
|
`score` int(11) DEFAULT '100',
|
||
|
`visits` int(11) DEFAULT '0',
|
||
|
`path` varchar(255) DEFAULT NULL,
|
||
|
`evaluation_way` int(11) DEFAULT '0',
|
||
|
`difficulty` int(11) DEFAULT '1',
|
||
|
`exec_path` varchar(255) DEFAULT NULL,
|
||
|
`code_line` int(11) DEFAULT NULL,
|
||
|
`st` tinyint(4) DEFAULT '0',
|
||
|
`web_route` text,
|
||
|
`picture_path` text,
|
||
|
`expect_picture_path` text,
|
||
|
`modify_time` datetime DEFAULT NULL,
|
||
|
`challenge_tags_count` int(11) DEFAULT '0',
|
||
|
`original_picture_path` varchar(255) DEFAULT NULL,
|
||
|
`show_type` int(11) DEFAULT '-1',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3286 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `changes`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `changes` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`changeset_id` int(11) NOT NULL,
|
||
|
`action` varchar(1) NOT NULL DEFAULT '',
|
||
|
`path` text NOT NULL,
|
||
|
`from_path` text,
|
||
|
`from_revision` varchar(255) DEFAULT NULL,
|
||
|
`revision` varchar(255) DEFAULT NULL,
|
||
|
`branch` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `changesets_changeset_id` (`changeset_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1128132 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `changeset_parents`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `changeset_parents` (
|
||
|
`changeset_id` int(11) NOT NULL,
|
||
|
`parent_id` int(11) NOT NULL,
|
||
|
KEY `changeset_parents_changeset_ids` (`changeset_id`),
|
||
|
KEY `changeset_parents_parent_ids` (`parent_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `changesets`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `changesets` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`repository_id` int(11) NOT NULL,
|
||
|
`revision` varchar(255) NOT NULL,
|
||
|
`committer` varchar(255) DEFAULT NULL,
|
||
|
`committed_on` datetime NOT NULL,
|
||
|
`comments` text,
|
||
|
`commit_date` date DEFAULT NULL,
|
||
|
`scmid` varchar(255) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`type` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
UNIQUE KEY `changesets_repos_rev` (`repository_id`,`revision`),
|
||
|
KEY `index_changesets_on_user_id` (`user_id`),
|
||
|
KEY `index_changesets_on_repository_id` (`repository_id`),
|
||
|
KEY `index_changesets_on_committed_on` (`committed_on`),
|
||
|
KEY `changesets_repos_scmid` (`repository_id`,`scmid`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=121390 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `changesets_issues`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `changesets_issues` (
|
||
|
`changeset_id` int(11) NOT NULL,
|
||
|
`issue_id` int(11) NOT NULL,
|
||
|
UNIQUE KEY `changesets_issues_ids` (`changeset_id`,`issue_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `chart_rules`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `chart_rules` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`rule_type` varchar(255) DEFAULT NULL,
|
||
|
`content` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `choose_outputs`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `choose_outputs` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`challenge_choose_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`answer` varchar(255) DEFAULT NULL,
|
||
|
`correct` tinyint(1) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=71 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `code_tests`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `code_tests` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`homework_id` int(11) DEFAULT NULL,
|
||
|
`wait_time` int(11) DEFAULT '0',
|
||
|
`language` int(11) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`time_used` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`student_work_id` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=759267 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `comments`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `comments` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`commented_type` varchar(30) NOT NULL DEFAULT '',
|
||
|
`commented_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`author_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`comments` text,
|
||
|
`created_on` datetime NOT NULL,
|
||
|
`updated_on` datetime NOT NULL,
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`comments_count` int(11) DEFAULT '0',
|
||
|
`reply_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_comments_on_commented_id_and_commented_type` (`commented_id`,`commented_type`),
|
||
|
KEY `index_comments_on_author_id` (`author_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=4799 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `commit_issues`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `commit_issues` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`commit_id` varchar(255) DEFAULT NULL,
|
||
|
`issue_id` int(11) DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `commits`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `commits` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`repository_id` int(11) DEFAULT NULL,
|
||
|
`version` varchar(255) DEFAULT NULL,
|
||
|
`committer` varchar(255) DEFAULT NULL,
|
||
|
`comments` text,
|
||
|
`committed_on` datetime DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `competition_entries`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `competition_entries` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`competition_stage_section_id` int(11) DEFAULT NULL,
|
||
|
`competition_stage_id` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`url` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_competition_entries_on_competition_stage_section_id` (`competition_stage_section_id`),
|
||
|
KEY `index_competition_entries_on_competition_stage_id` (`competition_stage_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `competition_lists`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `competition_lists` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`competition_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_competition_lists_on_competition_id` (`competition_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `competition_modules`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `competition_modules` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`competition_id` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`hidden` tinyint(1) DEFAULT '0',
|
||
|
`url` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_competition_modules_on_competition_id` (`competition_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `competition_scores`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `competition_scores` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`score` float DEFAULT NULL,
|
||
|
`score_type` varchar(255) DEFAULT NULL,
|
||
|
`region` varchar(255) DEFAULT NULL,
|
||
|
`cost_time` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_competition_scores_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=337 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `competition_stage_sections`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `competition_stage_sections` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`competition_id` int(11) DEFAULT NULL,
|
||
|
`competition_stage_id` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`start_time` datetime DEFAULT NULL,
|
||
|
`end_time` datetime DEFAULT NULL,
|
||
|
`entry` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_competition_stage_sections_on_competition_id` (`competition_id`),
|
||
|
KEY `index_competition_stage_sections_on_competition_stage_id` (`competition_stage_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `competition_stages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `competition_stages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`competition_id` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_competition_stages_on_competition_id` (`competition_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `competitions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `competitions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`start_time` datetime DEFAULT NULL,
|
||
|
`end_time` datetime DEFAULT NULL,
|
||
|
`identifier` varchar(255) DEFAULT NULL,
|
||
|
`status` tinyint(1) DEFAULT '0',
|
||
|
`online_time` datetime DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`visits` int(11) DEFAULT '0',
|
||
|
`competition_lists_count` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `contest_activities`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `contest_activities` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`contest_id` int(11) DEFAULT NULL,
|
||
|
`contest_act_id` int(11) DEFAULT NULL,
|
||
|
`contest_act_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_contest_activities_on_user_id` (`user_id`),
|
||
|
KEY `index_contest_activities_on_contest_id` (`contest_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `contest_member_roles`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `contest_member_roles` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`contest_member_id` int(11) DEFAULT NULL,
|
||
|
`role_id` int(11) DEFAULT NULL,
|
||
|
`is_current` tinyint(1) DEFAULT '1',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_contest_member_roles_on_contest_member_id` (`contest_member_id`),
|
||
|
KEY `index_contest_member_roles_on_role_id` (`role_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=185 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `contest_members`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `contest_members` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`contest_id` int(11) DEFAULT NULL,
|
||
|
`is_collect` tinyint(1) DEFAULT '1',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_contest_members_on_user_id` (`user_id`),
|
||
|
KEY `index_contest_members_on_contest_id` (`contest_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=175 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `contest_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `contest_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`contest_id` int(11) DEFAULT NULL,
|
||
|
`contest_message_id` int(11) DEFAULT NULL,
|
||
|
`contest_message_type` varchar(255) DEFAULT NULL,
|
||
|
`viewed` tinyint(1) DEFAULT '0',
|
||
|
`content` text,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_contest_messages_on_user_id` (`user_id`),
|
||
|
KEY `index_contest_messages_on_contest_id` (`contest_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1983 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `contestant_for_contests`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `contestant_for_contests` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`student_id` int(11) DEFAULT NULL,
|
||
|
`contest_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_contestant_for_contests_on_contest_id` (`contest_id`),
|
||
|
KEY `index_contestant_for_contests_on_student_id` (`student_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=129 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `contestant_work_evaluation_distributions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `contestant_work_evaluation_distributions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`contestant_work_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_contestant_work_evaluation_distributions_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `contestant_work_projects`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `contestant_work_projects` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`contest_id` int(11) DEFAULT NULL,
|
||
|
`work_id` int(11) DEFAULT NULL,
|
||
|
`contestant_work_id` int(11) DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`is_leader` tinyint(1) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_contestant_work_projects_on_contest_id` (`contest_id`),
|
||
|
KEY `index_contestant_work_projects_on_work_id` (`work_id`),
|
||
|
KEY `index_contestant_work_projects_on_contestant_work_id` (`contestant_work_id`),
|
||
|
KEY `index_contestant_work_projects_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=83 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `contestant_work_scores`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `contestant_work_scores` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`contestant_work_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`score` int(11) DEFAULT NULL,
|
||
|
`comment` text,
|
||
|
`reviewer_role` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_contestant_work_scores_on_contestant_work_id` (`contestant_work_id`),
|
||
|
KEY `index_contestant_work_scores_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `contestant_works`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `contestant_works` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`work_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`work_score` float DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`work_status` int(11) DEFAULT NULL,
|
||
|
`commit_time` datetime DEFAULT NULL,
|
||
|
`is_delete` tinyint(1) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`judge_score` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_contestant_works_on_work_id` (`work_id`),
|
||
|
KEY `index_contestant_works_on_user_id` (`user_id`),
|
||
|
KEY `index_contestant_works_on_project_id` (`project_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=114 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `contests`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `contests` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`is_public` tinyint(1) DEFAULT NULL,
|
||
|
`is_delete` tinyint(1) DEFAULT '0',
|
||
|
`visits` int(11) DEFAULT '0',
|
||
|
`invite_code` varchar(255) DEFAULT NULL,
|
||
|
`invite_code_halt` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=810 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `coo_imgs`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `coo_imgs` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`src_states` varchar(255) DEFAULT NULL,
|
||
|
`url_states` varchar(255) DEFAULT NULL,
|
||
|
`img_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`position` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=61 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `coop_imgs`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `coop_imgs` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`src_states` varchar(255) DEFAULT NULL,
|
||
|
`url_states` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`img_type` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `cooperations`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `cooperations` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`mail` varchar(255) DEFAULT NULL,
|
||
|
`qq` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`user_type` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `course_activities`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `course_activities` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`course_act_id` int(11) DEFAULT NULL,
|
||
|
`course_act_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `course_act_index` (`course_id`,`course_act_id`,`course_act_type`,`created_at`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=38842 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `course_attachments`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `course_attachments` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`filename` varchar(255) DEFAULT NULL,
|
||
|
`disk_filename` varchar(255) DEFAULT NULL,
|
||
|
`filesize` int(11) DEFAULT NULL,
|
||
|
`content_type` varchar(255) DEFAULT NULL,
|
||
|
`digest` varchar(255) DEFAULT NULL,
|
||
|
`downloads` int(11) DEFAULT NULL,
|
||
|
`author_id` varchar(255) DEFAULT NULL,
|
||
|
`integer` varchar(255) DEFAULT NULL,
|
||
|
`description` varchar(255) DEFAULT NULL,
|
||
|
`disk_directory` varchar(255) DEFAULT NULL,
|
||
|
`attachtype` int(11) DEFAULT NULL,
|
||
|
`is_public` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`container_id` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=413 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `course_contributor_scores`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `course_contributor_scores` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`message_num` int(11) DEFAULT '0',
|
||
|
`message_reply_num` int(11) DEFAULT '0',
|
||
|
`news_reply_num` int(11) DEFAULT '0',
|
||
|
`resource_num` int(11) DEFAULT '0',
|
||
|
`journal_num` int(11) DEFAULT '0',
|
||
|
`journal_reply_num` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`total_score` int(11) DEFAULT '0',
|
||
|
`homework_journal_num` int(11) DEFAULT '0',
|
||
|
`news_num` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_course_contributor_scores_on_course_id_and_user_id` (`course_id`,`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=34579 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `course_groups`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `course_groups` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`members_count` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_course_groups_on_course_id` (`course_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1009 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `course_homework_statistics`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `course_homework_statistics` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`committed_work_num` int(11) DEFAULT '0',
|
||
|
`un_commit_work_num` int(11) DEFAULT '0',
|
||
|
`late_commit_work_num` int(11) DEFAULT '0',
|
||
|
`absence_evaluation_work_num` int(11) DEFAULT '0',
|
||
|
`un_evaluation_work_num` int(11) DEFAULT '0',
|
||
|
`appeal_num` int(11) DEFAULT '0',
|
||
|
`average_score` float DEFAULT '0',
|
||
|
`total_score` float DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=31032 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `course_infos`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `course_infos` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1417 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `course_lists`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `course_lists` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime DEFAULT NULL,
|
||
|
`updated_at` datetime DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`is_admin` tinyint(1) DEFAULT '1',
|
||
|
`support_shixuns_search` tinyint(1) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1178 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `course_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `course_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`course_message_id` int(11) DEFAULT NULL,
|
||
|
`course_message_type` varchar(255) DEFAULT NULL,
|
||
|
`viewed` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`content` text,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`apply_user_id` int(11) DEFAULT NULL,
|
||
|
`apply_result` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_course_messages_on_user_id_and_course_id_and_created_at` (`user_id`,`course_id`,`created_at`),
|
||
|
KEY `index_course_messages_on_course_message_type` (`course_message_type`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1032687 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `course_modules`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `course_modules` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`module_type` varchar(255) DEFAULT NULL,
|
||
|
`position` int(11) DEFAULT NULL,
|
||
|
`hidden` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`module_name` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=12718 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `course_statuses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `course_statuses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`changesets_count` int(11) DEFAULT NULL,
|
||
|
`watchers_count` int(11) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`grade` float DEFAULT '0',
|
||
|
`course_ac_para` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=666 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `courses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `courses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`tea_id` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`state` int(11) DEFAULT NULL,
|
||
|
`code` varchar(255) DEFAULT NULL,
|
||
|
`time` int(11) DEFAULT NULL,
|
||
|
`extra` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`location` varchar(255) DEFAULT NULL,
|
||
|
`term` varchar(255) DEFAULT NULL,
|
||
|
`string` varchar(255) DEFAULT NULL,
|
||
|
`password` varchar(255) DEFAULT NULL,
|
||
|
`setup_time` varchar(255) DEFAULT NULL,
|
||
|
`endup_time` varchar(255) DEFAULT NULL,
|
||
|
`class_period` varchar(255) DEFAULT NULL,
|
||
|
`school_id` int(11) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`status` int(11) DEFAULT '1',
|
||
|
`attachmenttype` int(11) DEFAULT '2',
|
||
|
`lft` int(11) DEFAULT NULL,
|
||
|
`rgt` int(11) DEFAULT NULL,
|
||
|
`is_public` tinyint(4) DEFAULT '1',
|
||
|
`inherit_members` tinyint(4) DEFAULT '1',
|
||
|
`open_student` int(11) DEFAULT '0',
|
||
|
`outline` int(11) DEFAULT '0',
|
||
|
`publish_resource` int(11) DEFAULT '0',
|
||
|
`is_delete` int(11) DEFAULT '0',
|
||
|
`end_time` int(11) DEFAULT NULL,
|
||
|
`end_term` varchar(255) DEFAULT NULL,
|
||
|
`is_excellent` int(11) DEFAULT '0',
|
||
|
`excellent_option` int(11) DEFAULT '0',
|
||
|
`is_copy` int(11) DEFAULT '0',
|
||
|
`visits` int(11) DEFAULT '0',
|
||
|
`syllabus_id` int(11) DEFAULT NULL,
|
||
|
`invite_code` varchar(255) DEFAULT NULL,
|
||
|
`qrcode` varchar(255) DEFAULT NULL,
|
||
|
`qrcode_expiretime` int(11) DEFAULT '0',
|
||
|
`invite_code_halt` tinyint(4) DEFAULT '0',
|
||
|
`os_allow` int(11) DEFAULT '0',
|
||
|
`credit` float DEFAULT NULL,
|
||
|
`is_end` tinyint(1) DEFAULT '0',
|
||
|
`end_date` date DEFAULT NULL,
|
||
|
`choose_group_allow` tinyint(1) DEFAULT '0',
|
||
|
`homepage_show` tinyint(1) DEFAULT '0',
|
||
|
`course_list_id` int(11) DEFAULT NULL,
|
||
|
`members_count` int(11) DEFAULT '0',
|
||
|
`homework_commons_count` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
UNIQUE KEY `index_courses_on_invite_code` (`invite_code`),
|
||
|
KEY `index_courses_on_syllabus_id` (`syllabus_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1439 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `custom_fields`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `custom_fields` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`type` varchar(30) NOT NULL DEFAULT '',
|
||
|
`name` varchar(30) NOT NULL DEFAULT '',
|
||
|
`field_format` varchar(30) NOT NULL DEFAULT '',
|
||
|
`possible_values` text,
|
||
|
`regexp` varchar(255) DEFAULT '',
|
||
|
`min_length` int(11) NOT NULL DEFAULT '0',
|
||
|
`max_length` int(11) NOT NULL DEFAULT '0',
|
||
|
`is_required` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`is_for_all` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`is_filter` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`position` int(11) DEFAULT '1',
|
||
|
`searchable` tinyint(1) DEFAULT '0',
|
||
|
`default_value` text,
|
||
|
`editable` tinyint(1) DEFAULT '1',
|
||
|
`visible` tinyint(1) NOT NULL DEFAULT '1',
|
||
|
`multiple` tinyint(1) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_custom_fields_on_id_and_type` (`id`,`type`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `custom_fields_projects`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `custom_fields_projects` (
|
||
|
`custom_field_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`project_id` int(11) NOT NULL DEFAULT '0',
|
||
|
UNIQUE KEY `index_custom_fields_projects_on_custom_field_id_and_project_id` (`custom_field_id`,`project_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `custom_fields_trackers`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `custom_fields_trackers` (
|
||
|
`custom_field_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`tracker_id` int(11) NOT NULL DEFAULT '0',
|
||
|
UNIQUE KEY `index_custom_fields_trackers_on_custom_field_id_and_tracker_id` (`custom_field_id`,`tracker_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `custom_values`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `custom_values` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`customized_type` varchar(30) NOT NULL DEFAULT '',
|
||
|
`customized_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`custom_field_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`value` text,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `custom_values_customized` (`customized_type`,`customized_id`),
|
||
|
KEY `index_custom_values_on_custom_field_id` (`custom_field_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `data_exceptions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `data_exceptions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`message` varchar(255) DEFAULT NULL,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `delayed_jobs`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `delayed_jobs` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`priority` int(11) NOT NULL DEFAULT '0',
|
||
|
`attempts` int(11) NOT NULL DEFAULT '0',
|
||
|
`handler` text NOT NULL,
|
||
|
`last_error` text,
|
||
|
`run_at` datetime DEFAULT NULL,
|
||
|
`locked_at` datetime DEFAULT NULL,
|
||
|
`failed_at` datetime DEFAULT NULL,
|
||
|
`locked_by` varchar(255) DEFAULT NULL,
|
||
|
`queue` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime DEFAULT NULL,
|
||
|
`updated_at` datetime DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `delayed_jobs_priority` (`priority`,`run_at`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=13817 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `delayed_jobs_20161218`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `delayed_jobs_20161218` (
|
||
|
`id` int(11) NOT NULL DEFAULT '0',
|
||
|
`priority` int(11) NOT NULL DEFAULT '0',
|
||
|
`attempts` int(11) NOT NULL DEFAULT '0',
|
||
|
`handler` text NOT NULL,
|
||
|
`last_error` text,
|
||
|
`run_at` datetime DEFAULT NULL,
|
||
|
`locked_at` datetime DEFAULT NULL,
|
||
|
`failed_at` datetime DEFAULT NULL,
|
||
|
`locked_by` varchar(255) DEFAULT NULL,
|
||
|
`queue` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime DEFAULT NULL,
|
||
|
`updated_at` datetime DEFAULT NULL
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `department_members`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `department_members` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`department_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_department_members_on_department_id` (`department_id`),
|
||
|
KEY `index_department_members_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `departments`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `departments` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`school_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`is_auth` tinyint(1) DEFAULT '0',
|
||
|
`identifier` varchar(255) DEFAULT NULL,
|
||
|
`host_count` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_departments_on_school_id` (`school_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=776 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `discipline_categories`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `discipline_categories` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`major_level` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `discuss_demos`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `discuss_demos` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`title` varchar(255) DEFAULT NULL,
|
||
|
`body` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `discusses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `discusses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`dis_type` varchar(255) DEFAULT NULL,
|
||
|
`dis_id` int(11) DEFAULT NULL,
|
||
|
`content` text,
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`root_id` int(11) DEFAULT NULL,
|
||
|
`praise_count` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`challenge_id` int(11) DEFAULT NULL,
|
||
|
`reward` int(11) DEFAULT NULL,
|
||
|
`hidden` tinyint(1) DEFAULT '0',
|
||
|
`last_reply_id` int(11) DEFAULT NULL,
|
||
|
`position` tinyint(4) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_discusses_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1820 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `documents`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `documents` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`category_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`title` varchar(60) NOT NULL DEFAULT '',
|
||
|
`description` text,
|
||
|
`created_on` datetime DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT '0',
|
||
|
`is_public` int(11) DEFAULT '1',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `documents_project_id` (`project_id`),
|
||
|
KEY `index_documents_on_category_id` (`category_id`),
|
||
|
KEY `index_documents_on_created_on` (`created_on`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=222 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `dts`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `dts` (
|
||
|
`Num` int(11) NOT NULL DEFAULT '0',
|
||
|
`Defect` varchar(50) DEFAULT NULL,
|
||
|
`Category` varchar(50) DEFAULT NULL,
|
||
|
`File` varchar(255) DEFAULT NULL,
|
||
|
`Method` varchar(255) DEFAULT NULL,
|
||
|
`Module` varchar(20) DEFAULT NULL,
|
||
|
`Variable` varchar(50) DEFAULT NULL,
|
||
|
`StartLine` int(11) DEFAULT NULL,
|
||
|
`IPLine` int(11) DEFAULT NULL,
|
||
|
`IPLineCode` varchar(200) DEFAULT NULL,
|
||
|
`Judge` varchar(15) DEFAULT NULL,
|
||
|
`Review` tinyint(4) DEFAULT NULL,
|
||
|
`Description` varchar(255) DEFAULT NULL,
|
||
|
`PreConditions` longtext,
|
||
|
`TraceInfo` longtext,
|
||
|
`Code` longtext,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime DEFAULT NULL,
|
||
|
`updated_at` datetime DEFAULT NULL,
|
||
|
`id` int(11) NOT NULL,
|
||
|
PRIMARY KEY (`Num`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `editor_of_documents`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `editor_of_documents` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`editor_id` int(11) DEFAULT NULL,
|
||
|
`org_document_comment_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1663 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `enabled_modules`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `enabled_modules` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) NOT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `enabled_modules_project_id` (`project_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=38150 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `enumerations`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `enumerations` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(30) NOT NULL DEFAULT '',
|
||
|
`position` int(11) DEFAULT '1',
|
||
|
`is_default` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`type` varchar(255) DEFAULT NULL,
|
||
|
`active` tinyint(1) NOT NULL DEFAULT '1',
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`position_name` varchar(30) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_enumerations_on_project_id` (`project_id`),
|
||
|
KEY `index_enumerations_on_id_and_type` (`id`,`type`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `error_checks`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `error_checks` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`game_indentifier` varchar(255) DEFAULT NULL,
|
||
|
`login` varchar(255) DEFAULT NULL,
|
||
|
`path` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=864 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `evaluate_records`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `evaluate_records` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`game_id` int(11) DEFAULT NULL,
|
||
|
`consume_time` float DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`file_update` float DEFAULT NULL,
|
||
|
`git_pull` float DEFAULT NULL,
|
||
|
`create_pod` float DEFAULT NULL,
|
||
|
`pod_execute` float DEFAULT NULL,
|
||
|
`student_work` float DEFAULT NULL,
|
||
|
`test_cases` float DEFAULT NULL,
|
||
|
`retry` float DEFAULT NULL,
|
||
|
`game_build` float DEFAULT NULL,
|
||
|
`return_back` float DEFAULT NULL,
|
||
|
`brige` float DEFAULT NULL,
|
||
|
`create_status` datetime DEFAULT NULL,
|
||
|
`front_js` float DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `game` (`game_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1078311 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercise_answers`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercise_answers` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`exercise_question_id` int(11) DEFAULT NULL,
|
||
|
`exercise_choice_id` int(11) DEFAULT NULL,
|
||
|
`answer_text` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`score` int(11) DEFAULT '-1',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `eq` (`exercise_question_id`),
|
||
|
KEY `index_exercise_answers_on_exercise_choice_id` (`exercise_choice_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=393183 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercise_bank_choices`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercise_bank_choices` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`exercise_bank_question_id` int(11) DEFAULT NULL,
|
||
|
`choice_text` text,
|
||
|
`choice_position` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_exercise_bank_choices_on_exercise_bank_question_id` (`exercise_bank_question_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=9343 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercise_bank_questions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercise_bank_questions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`question_title` text,
|
||
|
`question_type` int(11) DEFAULT NULL,
|
||
|
`question_number` int(11) DEFAULT NULL,
|
||
|
`question_score` int(11) DEFAULT NULL,
|
||
|
`exercise_bank_id` int(11) DEFAULT NULL,
|
||
|
`max_choices` int(11) DEFAULT NULL,
|
||
|
`min_choices` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`is_necessary` int(11) DEFAULT '1',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_exercise_bank_questions_on_exercise_bank_id` (`exercise_bank_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3007 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercise_bank_shixun_challenges`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercise_bank_shixun_challenges` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`challenge_id` int(11) DEFAULT NULL,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`exercise_bank_question_id` int(11) DEFAULT NULL,
|
||
|
`question_score` int(11) DEFAULT NULL,
|
||
|
`position` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_exercise_bank_shixun_challenges_on_challenge_id` (`challenge_id`),
|
||
|
KEY `index_exercise_bank_shixun_challenges_on_shixun_id` (`shixun_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercise_bank_standard_answers`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercise_bank_standard_answers` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`exercise_bank_question_id` int(11) DEFAULT NULL,
|
||
|
`exercise_bank_choice_id` int(11) DEFAULT NULL,
|
||
|
`answer_text` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2330 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercise_banks`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercise_banks` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`is_public` tinyint(1) DEFAULT NULL,
|
||
|
`quotes` int(11) DEFAULT NULL,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`course_list_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_exercise_banks_on_user_id` (`user_id`),
|
||
|
KEY `index_exercise_banks_on_course_list_id` (`course_list_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=403 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercise_choices`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercise_choices` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`exercise_question_id` int(11) DEFAULT NULL,
|
||
|
`choice_text` text,
|
||
|
`choice_position` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_exercise_choices_on_exercise_question_id` (`exercise_question_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=23255 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercise_group_settings`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercise_group_settings` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`exercise_id` int(11) DEFAULT NULL,
|
||
|
`course_group_id` int(11) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`publish_time` datetime DEFAULT NULL,
|
||
|
`end_time` datetime DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_exercise_group_settings_on_exercise_id` (`exercise_id`),
|
||
|
KEY `index_exercise_group_settings_on_course_group_id` (`course_group_id`),
|
||
|
KEY `index_exercise_group_settings_on_course_id` (`course_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercise_questions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercise_questions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`question_title` text,
|
||
|
`question_type` int(11) DEFAULT NULL,
|
||
|
`question_number` int(11) DEFAULT NULL,
|
||
|
`exercise_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`question_score` int(11) DEFAULT NULL,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_exercise_questions_on_exercise_id` (`exercise_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=7396 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercise_shixun_answers`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercise_shixun_answers` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`exercise_question_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`exercise_shixun_challenge_id` int(11) DEFAULT NULL,
|
||
|
`answer_text` text,
|
||
|
`score` int(11) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_exercise_shixun_answers_on_exercise_question_id` (`exercise_question_id`),
|
||
|
KEY `index_exercise_shixun_answers_on_user_id` (`user_id`),
|
||
|
KEY `index_exercise_shixun_answers_on_exercise_shixun_challenge_id` (`exercise_shixun_challenge_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=663 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercise_shixun_challenges`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercise_shixun_challenges` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`challenge_id` int(11) DEFAULT NULL,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`exercise_question_id` int(11) DEFAULT NULL,
|
||
|
`question_score` int(11) DEFAULT NULL,
|
||
|
`position` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_exercise_shixun_challenges_on_challenge_id` (`challenge_id`),
|
||
|
KEY `index_exercise_shixun_challenges_on_shixun_id` (`shixun_id`),
|
||
|
KEY `index_exercise_shixun_challenges_on_exercise_question_id` (`exercise_question_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=70 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercise_standard_answers`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercise_standard_answers` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`exercise_question_id` int(11) DEFAULT NULL,
|
||
|
`exercise_choice_id` int(11) DEFAULT NULL,
|
||
|
`answer_text` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_exercise_standard_answers_on_exercise_question_id` (`exercise_question_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=8350 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercise_users`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercise_users` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`exercise_id` int(11) DEFAULT NULL,
|
||
|
`score` int(11) DEFAULT NULL,
|
||
|
`start_at` datetime DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`end_at` datetime DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`commit_status` int(11) DEFAULT '0',
|
||
|
`objective_score` int(11) DEFAULT '-1',
|
||
|
`subjective_score` int(11) DEFAULT '-1',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_exercise_users_on_exercise_id` (`exercise_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=81502 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `exercises`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `exercises` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`exercise_name` text,
|
||
|
`exercise_description` text,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`exercise_status` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`time` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`publish_time` datetime DEFAULT NULL,
|
||
|
`end_time` datetime DEFAULT NULL,
|
||
|
`show_result` int(11) DEFAULT NULL,
|
||
|
`question_random` int(11) DEFAULT '0',
|
||
|
`choice_random` int(11) DEFAULT '0',
|
||
|
`is_public` tinyint(1) DEFAULT '0',
|
||
|
`score_open` tinyint(1) DEFAULT '1',
|
||
|
`answer_open` tinyint(1) DEFAULT '1',
|
||
|
`exercise_bank_id` int(11) DEFAULT NULL,
|
||
|
`unified_setting` tinyint(1) DEFAULT '1',
|
||
|
`show_statistic` tinyint(1) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=764 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `experiences`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `experiences` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`score` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `exper` (`container_id`,`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=217105 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `first_level_disciplines`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `first_level_disciplines` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`discipline_category_id` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_first_level_disciplines_on_discipline_category_id` (`discipline_category_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=312 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `first_pages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `first_pages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`web_title` varchar(255) DEFAULT NULL,
|
||
|
`title` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`page_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`sort_type` int(11) DEFAULT NULL,
|
||
|
`image_width` int(11) DEFAULT '107',
|
||
|
`image_height` int(11) DEFAULT '63',
|
||
|
`show_course` int(11) DEFAULT '1',
|
||
|
`show_contest` int(11) DEFAULT '1',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `forge_activities`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `forge_activities` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`forge_act_id` int(11) DEFAULT NULL,
|
||
|
`forge_act_type` varchar(255) DEFAULT NULL,
|
||
|
`org_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_forge_activities_on_forge_act_id` (`forge_act_id`),
|
||
|
KEY `forge_act_index` (`project_id`,`forge_act_id`,`created_at`,`forge_act_type`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=29856 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `forge_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `forge_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`forge_message_id` int(11) DEFAULT NULL,
|
||
|
`forge_message_type` varchar(255) DEFAULT NULL,
|
||
|
`viewed` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`secret_key` varchar(255) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`operate_user_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_forge_messages_on_user_id_and_project_id_and_created_at` (`user_id`,`project_id`,`created_at`),
|
||
|
KEY `index_forge_messages_on_forge_message_id_and_forge_message_type` (`forge_message_id`,`forge_message_type`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=27628 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `forums`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `forums` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) NOT NULL,
|
||
|
`description` text,
|
||
|
`topic_count` int(11) DEFAULT '0',
|
||
|
`memo_count` int(11) DEFAULT '0',
|
||
|
`last_memo_id` int(11) DEFAULT '0',
|
||
|
`creator_id` int(11) NOT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`sticky` int(11) DEFAULT NULL,
|
||
|
`locked` int(11) DEFAULT NULL,
|
||
|
`visits` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `forwards`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `forwards` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`from_id` int(11) DEFAULT NULL,
|
||
|
`from_type` varchar(255) DEFAULT NULL,
|
||
|
`to_id` int(11) DEFAULT NULL,
|
||
|
`to_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=603 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `game_codes`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `game_codes` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`game_id` int(11) DEFAULT NULL,
|
||
|
`original_code` longtext,
|
||
|
`new_code` longtext,
|
||
|
`path` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`current_code` longtext,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `game_id` (`game_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=284340 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `game_outputs`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `game_outputs` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`code` int(11) DEFAULT NULL,
|
||
|
`game_id` int(11) DEFAULT NULL,
|
||
|
`msg` text,
|
||
|
`out_put` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `games`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `games` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`myshixun_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
`final_score` int(11) DEFAULT '0',
|
||
|
`challenge_id` int(11) DEFAULT NULL,
|
||
|
`open_time` datetime DEFAULT NULL,
|
||
|
`identifier` varchar(255) DEFAULT NULL,
|
||
|
`answer_open` tinyint(1) DEFAULT '0',
|
||
|
`end_time` datetime DEFAULT NULL,
|
||
|
`retry_status` int(11) DEFAULT '0',
|
||
|
`resubmit_identifier` varchar(255) DEFAULT NULL,
|
||
|
`test_sets_view` tinyint(1) DEFAULT '0',
|
||
|
`picture_path` text,
|
||
|
`accuracy` float DEFAULT NULL,
|
||
|
`modify_time` datetime DEFAULT NULL,
|
||
|
`star` int(11) DEFAULT '0',
|
||
|
`cost_time` int(11) DEFAULT '0',
|
||
|
`evaluate_count` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `user` (`user_id`),
|
||
|
KEY `challenge` (`challenge_id`),
|
||
|
KEY `myshixun` (`myshixun_id`),
|
||
|
KEY `index_games_on_identifier` (`identifier`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=292926 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `gitlab_urls`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `gitlab_urls` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`myshixun_id` int(11) DEFAULT NULL,
|
||
|
`url` varchar(255) DEFAULT NULL,
|
||
|
`myshixun_identifier` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=16162 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `grades`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `grades` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`score` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `container` (`user_id`,`container_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=332272 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `groups_users`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `groups_users` (
|
||
|
`group_id` int(11) NOT NULL,
|
||
|
`user_id` int(11) NOT NULL,
|
||
|
UNIQUE KEY `groups_users_ids` (`group_id`,`user_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `helps`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `helps` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`about_us` text,
|
||
|
`agreement` text,
|
||
|
`status` text,
|
||
|
`help_center` text,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homepages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homepages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`article_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_homepages_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=23796 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_attaches`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_attaches` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`bid_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`reward` varchar(255) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`state` int(11) DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT '0',
|
||
|
`score` float DEFAULT '0',
|
||
|
`is_teacher_score` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_homework_attaches_on_bid_id` (`bid_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=24754 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_bank_samples`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_bank_samples` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`input` text,
|
||
|
`output` text,
|
||
|
`homework_bank_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_homework_bank_samples_on_homework_bank_id` (`homework_bank_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=197 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_bank_shixuns`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_bank_shixuns` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`homework_bank_id` int(11) DEFAULT NULL,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_homework_bank_shixuns_on_homework_bank_id` (`homework_bank_id`),
|
||
|
KEY `index_homework_bank_shixuns_on_shixun_id` (`shixun_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_bank_tests`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_bank_tests` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`input` text,
|
||
|
`output` text,
|
||
|
`test_type` tinyint(1) DEFAULT NULL,
|
||
|
`homework_bank_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=40569 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_banks`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_banks` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`homework_type` int(11) DEFAULT NULL,
|
||
|
`quotes` int(11) DEFAULT '0',
|
||
|
`is_public` tinyint(1) DEFAULT NULL,
|
||
|
`language` varchar(255) DEFAULT NULL,
|
||
|
`standard_code` longtext,
|
||
|
`min_num` int(11) DEFAULT NULL,
|
||
|
`max_num` int(11) DEFAULT NULL,
|
||
|
`base_on_project` tinyint(1) DEFAULT NULL,
|
||
|
`applicable_syllabus` varchar(255) DEFAULT NULL,
|
||
|
`homework_common_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`reference_answer` text,
|
||
|
`syllabus_id` int(11) DEFAULT NULL,
|
||
|
`major_level` text,
|
||
|
`discipline_category_id` text,
|
||
|
`first_level_discipline_id` text,
|
||
|
`course_list_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=4233 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_challenge_settings`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_challenge_settings` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`homework_common_id` int(11) DEFAULT NULL,
|
||
|
`challenge_id` int(11) DEFAULT NULL,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`score` float DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_homework_challenge_settings_on_homework_common_id` (`homework_common_id`),
|
||
|
KEY `index_homework_challenge_settings_on_challenge_id` (`challenge_id`),
|
||
|
KEY `index_homework_challenge_settings_on_shixun_id` (`shixun_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=5414 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_commons`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_commons` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`publish_time` datetime DEFAULT NULL,
|
||
|
`end_time` datetime DEFAULT NULL,
|
||
|
`homework_type` int(11) DEFAULT '1',
|
||
|
`late_penalty` varchar(255) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`teacher_priority` int(11) DEFAULT '1',
|
||
|
`anonymous_comment` int(11) DEFAULT '0',
|
||
|
`quotes` int(11) DEFAULT '0',
|
||
|
`is_open` int(11) DEFAULT '0',
|
||
|
`simi_time` datetime DEFAULT NULL,
|
||
|
`score_open` int(11) DEFAULT '1',
|
||
|
`anonymous_appeal` int(11) DEFAULT '0',
|
||
|
`homework_bank_id` int(11) DEFAULT NULL,
|
||
|
`is_update` tinyint(1) DEFAULT '0',
|
||
|
`is_public` tinyint(1) DEFAULT '0',
|
||
|
`reference_answer` text,
|
||
|
`answer_public` tinyint(1) DEFAULT '1',
|
||
|
`archive_time` datetime DEFAULT NULL,
|
||
|
`allow_late` tinyint(1) DEFAULT '1',
|
||
|
`late_time` datetime DEFAULT NULL,
|
||
|
`work_public` tinyint(1) DEFAULT '1',
|
||
|
`explanation` text,
|
||
|
`unified_setting` tinyint(1) DEFAULT '1',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_homework_commons_on_course_id_and_id` (`course_id`,`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=7704 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_commons_shixuns`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_commons_shixuns` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`homework_common_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1589 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_detail_groups`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_detail_groups` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`homework_common_id` int(11) DEFAULT NULL,
|
||
|
`min_num` int(11) DEFAULT NULL,
|
||
|
`max_num` int(11) DEFAULT NULL,
|
||
|
`base_on_project` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_homework_detail_groups_on_homework_common_id` (`homework_common_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=321 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_detail_manuals`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_detail_manuals` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`ta_proportion` float DEFAULT NULL,
|
||
|
`comment_status` int(11) DEFAULT NULL,
|
||
|
`evaluation_start` datetime DEFAULT NULL,
|
||
|
`evaluation_end` datetime DEFAULT NULL,
|
||
|
`evaluation_num` int(11) DEFAULT NULL,
|
||
|
`absence_penalty` int(11) DEFAULT '1',
|
||
|
`homework_common_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`no_anon_penalty` int(11) DEFAULT '1',
|
||
|
`appeal_penalty` int(11) DEFAULT '0',
|
||
|
`ta_mode` int(11) DEFAULT '1',
|
||
|
`appeal_time` datetime DEFAULT NULL,
|
||
|
`te_proportion` float DEFAULT '1',
|
||
|
`final_mode` tinyint(1) DEFAULT '0',
|
||
|
`answer_open_evaluation` tinyint(1) DEFAULT '0',
|
||
|
`shixun_evaluation` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=7700 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_detail_programings`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_detail_programings` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`language` varchar(255) DEFAULT NULL,
|
||
|
`standard_code` longtext,
|
||
|
`homework_common_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`ta_proportion` float DEFAULT '0.1',
|
||
|
`question_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2766 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_evaluations`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_evaluations` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` varchar(255) DEFAULT NULL,
|
||
|
`homework_attach_id` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=17792 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_for_courses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_for_courses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`bid_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_homework_for_courses_on_course_id` (`course_id`),
|
||
|
KEY `index_homework_for_courses_on_bid_id` (`bid_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=737 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_group_settings`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_group_settings` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`homework_common_id` int(11) DEFAULT NULL,
|
||
|
`course_group_id` int(11) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`publish_time` datetime DEFAULT NULL,
|
||
|
`end_time` datetime DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_homework_group_settings_on_homework_common_id` (`homework_common_id`),
|
||
|
KEY `index_homework_group_settings_on_course_group_id` (`course_group_id`),
|
||
|
KEY `index_homework_group_settings_on_course_id` (`course_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=252 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_reference_answers`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_reference_answers` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`answer` text,
|
||
|
`homework_common_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_homework_reference_answers_on_homework_common_id` (`homework_common_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_samples`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_samples` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`input` text,
|
||
|
`output` text,
|
||
|
`homework_common_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_homework_samples_on_homework_common_id` (`homework_common_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1212 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_tests`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_tests` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`input` text,
|
||
|
`output` text,
|
||
|
`homework_common_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`result` int(11) DEFAULT NULL,
|
||
|
`error_msg` text,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=51640 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `homework_users`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `homework_users` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`homework_attach_id` varchar(255) DEFAULT NULL,
|
||
|
`user_id` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `import_course_users`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `import_course_users` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_student_id` varchar(255) DEFAULT NULL,
|
||
|
`user_name` varchar(255) DEFAULT NULL,
|
||
|
`user_group_name` varchar(255) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`school_id` int(11) DEFAULT NULL,
|
||
|
`status` tinyint(1) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_import_course_users_on_course_id` (`course_id`),
|
||
|
KEY `index_import_course_users_on_school_id` (`school_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `import_students`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `import_students` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`student_number` varchar(255) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`school_id` int(11) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `informs`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `informs` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `innodb_monitor`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `innodb_monitor` (
|
||
|
`a` int(11) DEFAULT NULL
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `invite_lists`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `invite_lists` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`mail` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=141 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `issue_categories`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `issue_categories` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`name` varchar(30) NOT NULL DEFAULT '',
|
||
|
`assigned_to_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `issue_categories_project_id` (`project_id`),
|
||
|
KEY `index_issue_categories_on_assigned_to_id` (`assigned_to_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `issue_relations`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `issue_relations` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`issue_from_id` int(11) NOT NULL,
|
||
|
`issue_to_id` int(11) NOT NULL,
|
||
|
`relation_type` varchar(255) NOT NULL DEFAULT '',
|
||
|
`delay` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
UNIQUE KEY `index_issue_relations_on_issue_from_id_and_issue_to_id` (`issue_from_id`,`issue_to_id`),
|
||
|
KEY `index_issue_relations_on_issue_from_id` (`issue_from_id`),
|
||
|
KEY `index_issue_relations_on_issue_to_id` (`issue_to_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=48 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `issue_statuses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `issue_statuses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(30) NOT NULL DEFAULT '',
|
||
|
`is_closed` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`is_default` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`position` int(11) DEFAULT '1',
|
||
|
`default_done_ratio` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_issue_statuses_on_position` (`position`),
|
||
|
KEY `index_issue_statuses_on_is_closed` (`is_closed`),
|
||
|
KEY `index_issue_statuses_on_is_default` (`is_default`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `issues`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `issues` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`tracker_id` int(11) NOT NULL,
|
||
|
`project_id` int(11) NOT NULL,
|
||
|
`subject` varchar(255) NOT NULL DEFAULT '',
|
||
|
`description` text,
|
||
|
`due_date` date DEFAULT NULL,
|
||
|
`category_id` int(11) DEFAULT NULL,
|
||
|
`status_id` int(11) NOT NULL,
|
||
|
`assigned_to_id` int(11) DEFAULT NULL,
|
||
|
`priority_id` int(11) NOT NULL,
|
||
|
`fixed_version_id` int(11) DEFAULT NULL,
|
||
|
`author_id` int(11) NOT NULL,
|
||
|
`lock_version` int(11) NOT NULL DEFAULT '0',
|
||
|
`created_on` datetime DEFAULT NULL,
|
||
|
`updated_on` datetime DEFAULT NULL,
|
||
|
`start_date` date DEFAULT NULL,
|
||
|
`done_ratio` int(11) NOT NULL DEFAULT '0',
|
||
|
`estimated_hours` float DEFAULT NULL,
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`root_id` int(11) DEFAULT NULL,
|
||
|
`lft` int(11) DEFAULT NULL,
|
||
|
`rgt` int(11) DEFAULT NULL,
|
||
|
`is_private` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`closed_on` datetime DEFAULT NULL,
|
||
|
`project_issues_index` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `issues_project_id` (`project_id`),
|
||
|
KEY `index_issues_on_status_id` (`status_id`),
|
||
|
KEY `index_issues_on_category_id` (`category_id`),
|
||
|
KEY `index_issues_on_assigned_to_id` (`assigned_to_id`),
|
||
|
KEY `index_issues_on_fixed_version_id` (`fixed_version_id`),
|
||
|
KEY `index_issues_on_tracker_id` (`tracker_id`),
|
||
|
KEY `index_issues_on_priority_id` (`priority_id`),
|
||
|
KEY `index_issues_on_author_id` (`author_id`),
|
||
|
KEY `index_issues_on_created_on` (`created_on`),
|
||
|
KEY `index_issues_on_root_id_and_lft_and_rgt` (`root_id`,`lft`,`rgt`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=11837 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `join_in_competitions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `join_in_competitions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`competition_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `join_in_contests`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `join_in_contests` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`bid_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `journal_details`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `journal_details` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`journal_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`property` varchar(30) NOT NULL DEFAULT '',
|
||
|
`prop_key` varchar(30) NOT NULL DEFAULT '',
|
||
|
`old_value` text,
|
||
|
`value` text,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `journal_details_journal_id` (`journal_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=24527 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `journal_replies`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `journal_replies` (
|
||
|
`journal_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`reply_id` int(11) DEFAULT NULL,
|
||
|
KEY `index_journal_replies_on_user_id` (`user_id`),
|
||
|
KEY `index_journal_replies_on_journal_id` (`journal_id`),
|
||
|
KEY `index_journal_replies_on_reply_id` (`reply_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `journals`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `journals` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`journalized_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`journalized_type` varchar(30) NOT NULL DEFAULT '',
|
||
|
`user_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`notes` text,
|
||
|
`created_on` datetime NOT NULL,
|
||
|
`private_notes` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`comments_count` int(11) DEFAULT '0',
|
||
|
`reply_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `journals_journalized_id` (`journalized_id`,`journalized_type`),
|
||
|
KEY `index_journals_on_user_id` (`user_id`),
|
||
|
KEY `index_journals_on_journalized_id` (`journalized_id`),
|
||
|
KEY `index_journals_on_created_on` (`created_on`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=19600 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `journals_for_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `journals_for_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`jour_id` int(11) DEFAULT NULL,
|
||
|
`jour_type` varchar(255) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`notes` text,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`reply_id` int(11) DEFAULT NULL,
|
||
|
`created_on` datetime NOT NULL,
|
||
|
`updated_on` datetime NOT NULL,
|
||
|
`m_parent_id` varchar(255) DEFAULT NULL,
|
||
|
`is_readed` tinyint(1) DEFAULT NULL,
|
||
|
`m_reply_count` int(11) DEFAULT NULL,
|
||
|
`m_reply_id` int(11) DEFAULT NULL,
|
||
|
`is_comprehensive_evaluation` int(11) DEFAULT NULL,
|
||
|
`private` int(11) DEFAULT '0',
|
||
|
`root_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_journals_for_messages_on_root_id` (`root_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=80534 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `kindeditor_assets`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `kindeditor_assets` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`asset` varchar(255) DEFAULT NULL,
|
||
|
`file_size` int(11) DEFAULT NULL,
|
||
|
`file_type` varchar(255) DEFAULT NULL,
|
||
|
`owner_id` int(11) DEFAULT NULL,
|
||
|
`asset_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`owner_type` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=24663 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `major_courses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `major_courses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`course_list_id` int(11) DEFAULT NULL,
|
||
|
`major_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_major_courses_on_course_list_id` (`course_list_id`),
|
||
|
KEY `index_major_courses_on_major_id` (`major_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `majors`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `majors` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`major_code` varchar(255) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`first_level_discipline_id` int(11) DEFAULT NULL,
|
||
|
`discipline_category_id` int(11) DEFAULT NULL,
|
||
|
`major_level` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime DEFAULT NULL,
|
||
|
`updated_at` datetime DEFAULT NULL,
|
||
|
`support_shixuns` tinyint(1) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_majors_on_first_level_discipline_id` (`first_level_discipline_id`),
|
||
|
KEY `index_majors_on_discipline_category_id` (`discipline_category_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1660 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `mark_downs`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `mark_downs` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`description` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `member_roles`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `member_roles` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`member_id` int(11) NOT NULL,
|
||
|
`role_id` int(11) NOT NULL,
|
||
|
`inherited_from` int(11) DEFAULT NULL,
|
||
|
`is_current` int(11) DEFAULT '1',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_member_roles_on_member_id` (`member_id`),
|
||
|
KEY `index_member_roles_on_role_id` (`role_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=66130 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `members`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `members` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`project_id` int(11) DEFAULT '0',
|
||
|
`created_on` datetime DEFAULT NULL,
|
||
|
`mail_notification` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`course_id` int(11) DEFAULT '-1',
|
||
|
`course_group_id` int(11) DEFAULT '0',
|
||
|
`is_collect` int(11) DEFAULT '1',
|
||
|
PRIMARY KEY (`id`),
|
||
|
UNIQUE KEY `index_members_on_user_id_and_project_id` (`user_id`,`project_id`,`course_id`),
|
||
|
KEY `index_members_on_user_id` (`user_id`),
|
||
|
KEY `index_members_on_project_id` (`project_id`),
|
||
|
KEY `index_members_on_course_id` (`course_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=64562 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `memo_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `memo_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`forum_id` int(11) DEFAULT NULL,
|
||
|
`memo_id` int(11) DEFAULT NULL,
|
||
|
`memo_type` varchar(255) DEFAULT NULL,
|
||
|
`viewed` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_memo_messages_on_user_id_and_forum_id_and_created_at` (`user_id`,`forum_id`,`created_at`),
|
||
|
KEY `index_memo_messages_on_memo_id_and_memo_type` (`memo_id`,`memo_type`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3891 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `memo_tag_repertoires`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `memo_tag_repertoires` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`memo_id` int(11) DEFAULT NULL,
|
||
|
`tag_repertoire_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_memo_tag_repertoires_on_memo_id` (`memo_id`),
|
||
|
KEY `index_memo_tag_repertoires_on_tag_repertoire_id` (`tag_repertoire_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=184 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `memos`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `memos` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`forum_id` int(11) NOT NULL,
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`subject` varchar(255) NOT NULL,
|
||
|
`content` longtext NOT NULL,
|
||
|
`author_id` int(11) NOT NULL,
|
||
|
`replies_count` int(11) DEFAULT '0',
|
||
|
`last_reply_id` int(11) DEFAULT NULL,
|
||
|
`lock` tinyint(1) DEFAULT '0',
|
||
|
`sticky` tinyint(1) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`viewed_count` int(11) DEFAULT '0',
|
||
|
`root_id` int(11) DEFAULT NULL,
|
||
|
`reward` int(11) DEFAULT NULL,
|
||
|
`language` varchar(255) DEFAULT NULL,
|
||
|
`hidden` tinyint(4) DEFAULT '0',
|
||
|
`repertoire_name` varchar(255) DEFAULT NULL,
|
||
|
`is_md` tinyint(1) DEFAULT '1',
|
||
|
`all_replies_count` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_memos_on_root_id` (`root_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3377 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `message_alls`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `message_alls` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`message_id` int(11) DEFAULT NULL,
|
||
|
`message_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_message_alls_on_user_id_and_message_id_and_created_at` (`user_id`,`message_id`,`created_at`),
|
||
|
KEY `index_message_alls_on_message_type` (`message_type`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=974095 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`board_id` int(11) NOT NULL,
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`subject` varchar(255) NOT NULL DEFAULT '',
|
||
|
`content` longtext,
|
||
|
`author_id` int(11) DEFAULT NULL,
|
||
|
`replies_count` int(11) NOT NULL DEFAULT '0',
|
||
|
`last_reply_id` int(11) DEFAULT NULL,
|
||
|
`created_on` datetime NOT NULL,
|
||
|
`updated_on` datetime NOT NULL,
|
||
|
`locked` tinyint(1) DEFAULT '0',
|
||
|
`sticky` int(11) DEFAULT '0',
|
||
|
`reply_id` int(11) DEFAULT NULL,
|
||
|
`quotes` int(11) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
`root_id` int(11) DEFAULT NULL,
|
||
|
`visits` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `messages_board_id` (`board_id`),
|
||
|
KEY `messages_parent_id` (`parent_id`),
|
||
|
KEY `index_messages_on_last_reply_id` (`last_reply_id`),
|
||
|
KEY `index_messages_on_author_id` (`author_id`),
|
||
|
KEY `index_messages_on_created_on` (`created_on`),
|
||
|
KEY `index_messages_on_root_id` (`root_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=34681 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `mirror_migrate_errors`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `mirror_migrate_errors` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`game_info` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `mirror_operation_records`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `mirror_operation_records` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`mirror_repository_id` int(11) DEFAULT NULL,
|
||
|
`mirror_id` text,
|
||
|
`mirror_name` text,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`old_tag` varchar(255) DEFAULT NULL,
|
||
|
`new_tag` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=561 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `mirror_repositories`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `mirror_repositories` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`mirrorID` varchar(255) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`main_type` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`type_name` text,
|
||
|
`script_template` longtext,
|
||
|
`resource_limit` int(11) DEFAULT '10000',
|
||
|
`memory_limit` int(11) DEFAULT '1024',
|
||
|
`cpu_limit` tinyint(4) DEFAULT '1',
|
||
|
`time_limit` int(11) DEFAULT '120',
|
||
|
`should_compile` tinyint(1) DEFAULT NULL,
|
||
|
`repertoire_id` int(11) DEFAULT NULL,
|
||
|
`sub_repertoire_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=109 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `mirror_repository_types`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `mirror_repository_types` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`mirror_type_id` int(11) DEFAULT NULL,
|
||
|
`mirror_repository_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_mirror_repository_types_on_mirror_type_id` (`mirror_type_id`),
|
||
|
KEY `index_mirror_repository_types_on_mirror_repository_id` (`mirror_repository_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `mirror_scripts`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `mirror_scripts` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`mirror_repository_id` int(11) DEFAULT NULL,
|
||
|
`script` longtext,
|
||
|
`script_type` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `mirror_types`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `mirror_types` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `mirror_update_records`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `mirror_update_records` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`mirror_repository_id` int(11) DEFAULT NULL,
|
||
|
`oldName` varchar(255) DEFAULT NULL,
|
||
|
`newName` varchar(255) DEFAULT NULL,
|
||
|
`oldType` varchar(255) DEFAULT NULL,
|
||
|
`newType` varchar(255) DEFAULT NULL,
|
||
|
`oldTag` text,
|
||
|
`newTag` text,
|
||
|
`oldDescription` text,
|
||
|
`newDescription` text,
|
||
|
`oldStatus` int(11) DEFAULT NULL,
|
||
|
`newStatus` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_mirror_update_records_on_user_id` (`user_id`),
|
||
|
KEY `index_mirror_update_records_on_mirror_repository_id` (`mirror_repository_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `mul_tests`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `mul_tests` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`action` varchar(255) DEFAULT NULL,
|
||
|
`time` int(11) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`language` varchar(255) DEFAULT NULL,
|
||
|
`num` int(11) DEFAULT NULL,
|
||
|
`indentifier` varchar(255) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `myshixun_members`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `myshixun_members` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`myshixun_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`role` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1434 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `myshixuns`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `myshixuns` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`is_public` tinyint(1) DEFAULT '1',
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`gpid` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
`identifier` varchar(255) DEFAULT NULL,
|
||
|
`commit_id` varchar(255) DEFAULT NULL,
|
||
|
`modify_time` datetime DEFAULT NULL,
|
||
|
`reset_time` datetime DEFAULT NULL,
|
||
|
`system_tip` tinyint(1) DEFAULT '0',
|
||
|
`git_url` varchar(255) DEFAULT NULL,
|
||
|
`onclick_time` datetime DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
UNIQUE KEY `index_myshixuns_on_user_id_and_shixun_id` (`user_id`,`shixun_id`),
|
||
|
KEY `index_myshixuns_on_identifier` (`identifier`),
|
||
|
KEY `index_myshixuns_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=86406 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `news`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `news` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`title` varchar(60) NOT NULL DEFAULT '',
|
||
|
`summary` varchar(255) DEFAULT '',
|
||
|
`description` text,
|
||
|
`author_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`created_on` datetime DEFAULT NULL,
|
||
|
`comments_count` int(11) NOT NULL DEFAULT '0',
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`sticky` int(11) DEFAULT '0',
|
||
|
`org_subfield_id` int(11) DEFAULT NULL,
|
||
|
`contest_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `news_project_id` (`project_id`),
|
||
|
KEY `index_news_on_author_id` (`author_id`),
|
||
|
KEY `index_news_on_created_on` (`created_on`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2585 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `no_uses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `no_uses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) NOT NULL,
|
||
|
`no_use_type` varchar(255) DEFAULT NULL,
|
||
|
`no_use_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `notificationcomments`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `notificationcomments` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`notificationcommented_type` varchar(255) DEFAULT NULL,
|
||
|
`notificationcommented_id` int(11) DEFAULT NULL,
|
||
|
`author_id` int(11) DEFAULT NULL,
|
||
|
`notificationcomments` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `onclick_times`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `onclick_times` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`onclick_time` datetime DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=28992 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `open_id_authentication_associations`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `open_id_authentication_associations` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`issued` int(11) DEFAULT NULL,
|
||
|
`lifetime` int(11) DEFAULT NULL,
|
||
|
`handle` varchar(255) DEFAULT NULL,
|
||
|
`assoc_type` varchar(255) DEFAULT NULL,
|
||
|
`server_url` blob,
|
||
|
`secret` blob,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `open_id_authentication_nonces`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `open_id_authentication_nonces` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`timestamp` int(11) NOT NULL,
|
||
|
`server_url` varchar(255) DEFAULT NULL,
|
||
|
`salt` varchar(255) NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `open_source_projects`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `open_source_projects` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`commit_count` int(11) DEFAULT '0',
|
||
|
`code_line` int(11) DEFAULT '0',
|
||
|
`users_count` int(11) DEFAULT '0',
|
||
|
`last_commit_time` date DEFAULT NULL,
|
||
|
`url` varchar(255) DEFAULT NULL,
|
||
|
`date_collected` date DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=488570 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `option_numbers`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `option_numbers` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`memo` int(11) DEFAULT NULL,
|
||
|
`messages_for_issues` int(11) DEFAULT NULL,
|
||
|
`issues_status` int(11) DEFAULT NULL,
|
||
|
`replay_for_message` int(11) DEFAULT NULL,
|
||
|
`replay_for_memo` int(11) DEFAULT NULL,
|
||
|
`follow` int(11) DEFAULT NULL,
|
||
|
`tread` int(11) DEFAULT NULL,
|
||
|
`praise_by_one` int(11) DEFAULT NULL,
|
||
|
`praise_by_two` int(11) DEFAULT NULL,
|
||
|
`praise_by_three` int(11) DEFAULT NULL,
|
||
|
`tread_by_one` int(11) DEFAULT NULL,
|
||
|
`tread_by_two` int(11) DEFAULT NULL,
|
||
|
`tread_by_three` int(11) DEFAULT NULL,
|
||
|
`changeset` int(11) DEFAULT NULL,
|
||
|
`document` int(11) DEFAULT NULL,
|
||
|
`attachment` int(11) DEFAULT NULL,
|
||
|
`issue_done_ratio` int(11) DEFAULT NULL,
|
||
|
`post_issue` int(11) DEFAULT NULL,
|
||
|
`score_type` int(11) DEFAULT NULL,
|
||
|
`total_score` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=22597 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `org_activities`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `org_activities` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`org_act_id` int(11) DEFAULT NULL,
|
||
|
`org_act_type` varchar(255) DEFAULT NULL,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=58588 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `org_courses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `org_courses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`organization_id` int(11) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=98 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `org_document_comments`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `org_document_comments` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`title` text,
|
||
|
`content` text,
|
||
|
`organization_id` int(11) DEFAULT NULL,
|
||
|
`creator_id` int(11) DEFAULT NULL,
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`reply_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`locked` tinyint(1) DEFAULT '0',
|
||
|
`sticky` int(11) DEFAULT '0',
|
||
|
`org_subfield_id` int(11) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
`root_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_org_document_comments_on_root_id` (`root_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=6511 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `org_member_roles`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `org_member_roles` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`org_member_id` int(11) DEFAULT NULL,
|
||
|
`role_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=634 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `org_members`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `org_members` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`organization_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=637 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `org_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `org_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`sender_id` int(11) DEFAULT NULL,
|
||
|
`organization_id` int(11) DEFAULT NULL,
|
||
|
`message_type` varchar(255) DEFAULT NULL,
|
||
|
`message_id` int(11) DEFAULT NULL,
|
||
|
`viewed` int(11) DEFAULT NULL,
|
||
|
`content` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=233 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `org_projects`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `org_projects` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`organization_id` int(11) DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=138 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `org_subfield_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `org_subfield_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`org_subfield_id` int(11) DEFAULT NULL,
|
||
|
`message_id` int(11) DEFAULT NULL,
|
||
|
`message_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `org_subfields`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `org_subfields` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`organization_id` int(11) DEFAULT NULL,
|
||
|
`priority` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`field_type` varchar(255) DEFAULT NULL,
|
||
|
`hide` int(11) DEFAULT '0',
|
||
|
`status` int(11) DEFAULT '1',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=717 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `organizations`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `organizations` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`creator_id` int(11) DEFAULT NULL,
|
||
|
`home_id` int(11) DEFAULT NULL,
|
||
|
`is_public` tinyint(1) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`allow_guest_download` tinyint(1) DEFAULT '1',
|
||
|
`visits` int(11) DEFAULT '0',
|
||
|
`show_mode` int(11) DEFAULT '0',
|
||
|
`allow_teacher` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=150 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `phone_app_versions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `phone_app_versions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`version` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `platform_samples`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `platform_samples` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`samples_type` varchar(255) DEFAULT NULL,
|
||
|
`contents` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `poll_answers`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `poll_answers` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`poll_question_id` int(11) DEFAULT NULL,
|
||
|
`answer_text` text,
|
||
|
`answer_position` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3961 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `poll_group_settings`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `poll_group_settings` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`poll_id` int(11) DEFAULT NULL,
|
||
|
`course_group_id` int(11) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`publish_time` datetime DEFAULT NULL,
|
||
|
`end_time` datetime DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_poll_group_settings_on_poll_id` (`poll_id`),
|
||
|
KEY `index_poll_group_settings_on_course_group_id` (`course_group_id`),
|
||
|
KEY `index_poll_group_settings_on_course_id` (`course_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `poll_questions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `poll_questions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`question_title` varchar(255) DEFAULT NULL,
|
||
|
`question_type` int(11) DEFAULT NULL,
|
||
|
`is_necessary` int(11) DEFAULT NULL,
|
||
|
`poll_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`question_number` int(11) DEFAULT NULL,
|
||
|
`max_choices` int(11) DEFAULT '0',
|
||
|
`min_choices` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1391 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `poll_users`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `poll_users` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`poll_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`commit_status` int(11) DEFAULT '0',
|
||
|
`start_at` datetime DEFAULT NULL,
|
||
|
`end_at` datetime DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=35650 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `poll_votes`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `poll_votes` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`poll_question_id` int(11) DEFAULT NULL,
|
||
|
`poll_answer_id` int(11) DEFAULT NULL,
|
||
|
`vote_text` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=41374 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `polls`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `polls` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`polls_name` varchar(255) DEFAULT NULL,
|
||
|
`polls_type` varchar(255) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`polls_status` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`publish_time` datetime DEFAULT NULL,
|
||
|
`end_time` datetime DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`polls_description` text,
|
||
|
`show_result` int(11) DEFAULT '1',
|
||
|
`exercise_bank_id` int(11) DEFAULT NULL,
|
||
|
`is_public` tinyint(1) DEFAULT '0',
|
||
|
`unified_setting` tinyint(1) DEFAULT '1',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_polls_on_course_id` (`course_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=492 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `praise_tread_caches`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `praise_tread_caches` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`object_id` int(11) NOT NULL,
|
||
|
`object_type` varchar(255) DEFAULT NULL,
|
||
|
`praise_num` int(11) DEFAULT NULL,
|
||
|
`tread_num` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=9870 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `praise_treads`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `praise_treads` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) NOT NULL,
|
||
|
`praise_tread_object_id` int(11) DEFAULT NULL,
|
||
|
`praise_tread_object_type` varchar(255) DEFAULT NULL,
|
||
|
`praise_or_tread` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `praise_tread` (`praise_tread_object_id`,`praise_tread_object_type`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=31598 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `principal_activities`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `principal_activities` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`principal_id` int(11) DEFAULT NULL,
|
||
|
`principal_act_id` int(11) DEFAULT NULL,
|
||
|
`principal_act_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=69540 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `private_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `private_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`target_id` int(11) DEFAULT NULL,
|
||
|
`sender_id` int(11) DEFAULT NULL,
|
||
|
`receiver_id` int(11) DEFAULT NULL,
|
||
|
`content` text,
|
||
|
`send_time` datetime DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_private_messages_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=177 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `professional_levels`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `professional_levels` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`level` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `project_infos`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `project_infos` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=4934 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `project_scores`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `project_scores` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` varchar(255) DEFAULT NULL,
|
||
|
`score` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`issue_num` int(11) DEFAULT '0',
|
||
|
`issue_journal_num` int(11) DEFAULT '0',
|
||
|
`news_num` int(11) DEFAULT '0',
|
||
|
`documents_num` int(11) DEFAULT '0',
|
||
|
`changeset_num` int(11) DEFAULT '0',
|
||
|
`board_message_num` int(11) DEFAULT '0',
|
||
|
`board_num` int(11) DEFAULT '0',
|
||
|
`attach_num` int(11) DEFAULT '0',
|
||
|
`commit_time` datetime DEFAULT NULL,
|
||
|
`pull_request_num` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3100 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `project_statuses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `project_statuses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`changesets_count` int(11) DEFAULT NULL,
|
||
|
`watchers_count` int(11) DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`project_type` int(11) DEFAULT NULL,
|
||
|
`grade` float DEFAULT '0',
|
||
|
`course_ac_para` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_project_statuses_on_grade` (`grade`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3141 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `projecting_softapplictions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `projecting_softapplictions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`softapplication_id` int(11) DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `projects`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `projects` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) NOT NULL DEFAULT '',
|
||
|
`description` text,
|
||
|
`homepage` varchar(255) DEFAULT '',
|
||
|
`is_public` tinyint(1) NOT NULL DEFAULT '1',
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`created_on` datetime DEFAULT NULL,
|
||
|
`updated_on` datetime DEFAULT NULL,
|
||
|
`identifier` varchar(255) DEFAULT NULL,
|
||
|
`status` int(11) NOT NULL DEFAULT '1',
|
||
|
`lft` int(11) DEFAULT NULL,
|
||
|
`rgt` int(11) DEFAULT NULL,
|
||
|
`inherit_members` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`project_type` int(11) DEFAULT NULL,
|
||
|
`hidden_repo` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`attachmenttype` int(11) DEFAULT '1',
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`dts_test` int(11) DEFAULT '0',
|
||
|
`enterprise_name` varchar(255) DEFAULT NULL,
|
||
|
`organization_id` int(11) DEFAULT NULL,
|
||
|
`project_new_type` int(11) DEFAULT NULL,
|
||
|
`gpid` int(11) DEFAULT NULL,
|
||
|
`forked_from_project_id` int(11) DEFAULT NULL,
|
||
|
`forked_count` int(11) DEFAULT NULL,
|
||
|
`publish_resource` int(11) DEFAULT '0',
|
||
|
`visits` int(11) DEFAULT '0',
|
||
|
`hot` int(11) DEFAULT '0',
|
||
|
`invite_code` varchar(255) DEFAULT NULL,
|
||
|
`qrcode` varchar(255) DEFAULT NULL,
|
||
|
`qrcode_expiretime` int(11) DEFAULT '0',
|
||
|
`script` text,
|
||
|
`training_status` tinyint(4) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_projects_on_lft` (`lft`),
|
||
|
KEY `index_projects_on_rgt` (`rgt`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3215 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `projects_trackers`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `projects_trackers` (
|
||
|
`project_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`tracker_id` int(11) NOT NULL DEFAULT '0',
|
||
|
UNIQUE KEY `projects_trackers_unique` (`project_id`,`tracker_id`),
|
||
|
KEY `projects_trackers_project_id` (`project_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `pull_requests`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `pull_requests` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`pull_request_id` int(11) DEFAULT NULL,
|
||
|
`gpid` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`title` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=312 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `quality_analyses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `quality_analyses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`author_login` varchar(255) DEFAULT NULL,
|
||
|
`rep_identifier` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`sonar_version` int(11) DEFAULT '0',
|
||
|
`path` varchar(255) DEFAULT NULL,
|
||
|
`branch` varchar(255) DEFAULT NULL,
|
||
|
`language` varchar(255) DEFAULT NULL,
|
||
|
`sonar_name` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=237 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `queries`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `queries` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) NOT NULL DEFAULT '',
|
||
|
`filters` text,
|
||
|
`user_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`is_public` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`column_names` text,
|
||
|
`sort_criteria` text,
|
||
|
`group_by` varchar(255) DEFAULT NULL,
|
||
|
`type` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_queries_on_project_id` (`project_id`),
|
||
|
KEY `index_queries_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `question_banks`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `question_banks` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` text,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`quotes` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`is_public` tinyint(1) DEFAULT NULL,
|
||
|
`course_list_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2490 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `reference_materials`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `reference_materials` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`book` varchar(255) DEFAULT NULL,
|
||
|
`editor` varchar(255) DEFAULT NULL,
|
||
|
`press` varchar(255) DEFAULT NULL,
|
||
|
`syllabus_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_reference_materials_on_syllabus_id` (`syllabus_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `relative_memo_to_open_source_projects`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `relative_memo_to_open_source_projects` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`osp_id` int(11) DEFAULT NULL,
|
||
|
`relative_memo_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=596992 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `relative_memos`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `relative_memos` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`osp_id` int(11) DEFAULT NULL,
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`subject` varchar(255) NOT NULL,
|
||
|
`content` mediumtext NOT NULL,
|
||
|
`author_id` int(11) DEFAULT NULL,
|
||
|
`replies_count` int(11) DEFAULT '0',
|
||
|
`last_reply_id` int(11) DEFAULT NULL,
|
||
|
`lock` tinyint(1) DEFAULT '0',
|
||
|
`sticky` tinyint(1) DEFAULT '0',
|
||
|
`is_quote` tinyint(1) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`viewed_count_crawl` int(11) DEFAULT '0',
|
||
|
`viewed_count_local` int(11) DEFAULT '0',
|
||
|
`url` varchar(255) DEFAULT NULL,
|
||
|
`username` varchar(255) DEFAULT NULL,
|
||
|
`userhomeurl` varchar(255) DEFAULT NULL,
|
||
|
`date_collected` date DEFAULT NULL,
|
||
|
`topic_resource` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=451234 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `rep_statics`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `rep_statics` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`commits_num` int(11) DEFAULT NULL,
|
||
|
`uname` varchar(255) DEFAULT NULL,
|
||
|
`email` varchar(255) DEFAULT NULL,
|
||
|
`add` int(11) DEFAULT NULL,
|
||
|
`del` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`changeset` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1475 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `repertoires`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `repertoires` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `repositories`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `repositories` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`url` varchar(255) NOT NULL DEFAULT '',
|
||
|
`login` varchar(60) DEFAULT '',
|
||
|
`password` varchar(255) DEFAULT '',
|
||
|
`root_url` varchar(255) DEFAULT '',
|
||
|
`type` varchar(255) DEFAULT NULL,
|
||
|
`path_encoding` varchar(64) DEFAULT NULL,
|
||
|
`log_encoding` varchar(64) DEFAULT NULL,
|
||
|
`extra_info` text,
|
||
|
`identifier` varchar(255) DEFAULT NULL,
|
||
|
`is_default` tinyint(1) DEFAULT '0',
|
||
|
`hidden` tinyint(1) DEFAULT '0',
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`myshixun_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_repositories_on_project_id` (`project_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=75046 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `resource_banks`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `resource_banks` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`attachment_id` int(11) DEFAULT NULL,
|
||
|
`filename` varchar(255) DEFAULT NULL,
|
||
|
`disk_filename` varchar(255) DEFAULT NULL,
|
||
|
`filesize` int(11) DEFAULT NULL,
|
||
|
`digest` varchar(255) DEFAULT NULL,
|
||
|
`downloads` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`disk_directory` varchar(255) DEFAULT NULL,
|
||
|
`is_public` tinyint(1) DEFAULT NULL,
|
||
|
`copy_from` int(11) DEFAULT NULL,
|
||
|
`quotes` int(11) DEFAULT NULL,
|
||
|
`applicable_syllabus` varchar(255) DEFAULT NULL,
|
||
|
`major_level` int(11) DEFAULT NULL,
|
||
|
`discipline_category_id` int(11) DEFAULT NULL,
|
||
|
`first_level_discipline_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`content_type` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_resource_banks_on_course_id` (`course_id`),
|
||
|
KEY `index_resource_banks_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=8798 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `rich_rich_files`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `rich_rich_files` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`rich_file_file_name` varchar(255) DEFAULT NULL,
|
||
|
`rich_file_content_type` varchar(255) DEFAULT NULL,
|
||
|
`rich_file_file_size` int(11) DEFAULT NULL,
|
||
|
`rich_file_updated_at` datetime DEFAULT NULL,
|
||
|
`owner_type` varchar(255) DEFAULT NULL,
|
||
|
`owner_id` int(11) DEFAULT NULL,
|
||
|
`uri_cache` text,
|
||
|
`simplified_type` varchar(255) DEFAULT 'file',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `roles`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `roles` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(30) NOT NULL DEFAULT '',
|
||
|
`position` int(11) DEFAULT '1',
|
||
|
`assignable` tinyint(1) DEFAULT '1',
|
||
|
`builtin` int(11) NOT NULL DEFAULT '0',
|
||
|
`permissions` text,
|
||
|
`issues_visibility` varchar(30) NOT NULL DEFAULT 'default',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `schema_migrations`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `schema_migrations` (
|
||
|
`version` varchar(255) NOT NULL,
|
||
|
UNIQUE KEY `unique_schema_migrations` (`version`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `schools`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `schools` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`province` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`logo_link` varchar(255) DEFAULT NULL,
|
||
|
`pinyin` varchar(255) DEFAULT NULL,
|
||
|
`school_type` int(11) DEFAULT '0',
|
||
|
`city` varchar(255) DEFAULT NULL,
|
||
|
`address` varchar(255) DEFAULT NULL,
|
||
|
`auto_users_trial` tinyint(1) DEFAULT '0',
|
||
|
`shool_code` varchar(255) DEFAULT NULL,
|
||
|
`authorization_time` datetime DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3159 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `score_indicator_qualities`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `score_indicator_qualities` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`upper_limit` float DEFAULT NULL,
|
||
|
`lower_limit` float DEFAULT NULL,
|
||
|
`score_set_id` int(11) DEFAULT NULL,
|
||
|
`position` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `score_indicators`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `score_indicators` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` varchar(255) DEFAULT NULL,
|
||
|
`score_set_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`scale` float DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `score_quality_descriptions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `score_quality_descriptions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`score_indicator_id` int(11) DEFAULT NULL,
|
||
|
`position` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `score_sets`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `score_sets` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `secdomains`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `secdomains` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`sub_type` int(11) DEFAULT NULL,
|
||
|
`subname` varchar(255) DEFAULT NULL,
|
||
|
`pid` int(11) DEFAULT '0',
|
||
|
`desc` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=56 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `seems_rateable_cached_ratings`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `seems_rateable_cached_ratings` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`cacheable_id` bigint(20) DEFAULT NULL,
|
||
|
`cacheable_type` varchar(255) DEFAULT NULL,
|
||
|
`avg` float NOT NULL,
|
||
|
`cnt` int(11) NOT NULL,
|
||
|
`dimension` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3294 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `seems_rateable_rates`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `seems_rateable_rates` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`rater_id` bigint(20) DEFAULT NULL,
|
||
|
`rateable_id` int(11) DEFAULT NULL,
|
||
|
`rateable_type` varchar(255) DEFAULT NULL,
|
||
|
`stars` float NOT NULL,
|
||
|
`dimension` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`is_teacher_score` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=21336 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `settings`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `settings` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) NOT NULL DEFAULT '',
|
||
|
`value` text,
|
||
|
`updated_on` datetime DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_settings_on_name` (`name`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `shares`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `shares` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`created_on` date DEFAULT NULL,
|
||
|
`url` varchar(255) DEFAULT NULL,
|
||
|
`title` varchar(255) DEFAULT NULL,
|
||
|
`share_type` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`description` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `shield_activities`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `shield_activities` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`shield_type` varchar(255) DEFAULT NULL,
|
||
|
`shield_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=153 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `shield_wechat_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `shield_wechat_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`shield_id` int(11) DEFAULT NULL,
|
||
|
`shield_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `shixun_major_courses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `shixun_major_courses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`course_list_id` int(11) DEFAULT NULL,
|
||
|
`major_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_shixun_major_courses_on_shixun_id` (`shixun_id`),
|
||
|
KEY `index_shixun_major_courses_on_major_id` (`major_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=4082 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `shixun_members`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `shixun_members` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`role` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2413 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `shixun_mirror_repositories`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `shixun_mirror_repositories` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`mirror_repository_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3953 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `shixun_modifies`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `shixun_modifies` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`myshixun_id` int(11) DEFAULT NULL,
|
||
|
`status` tinyint(4) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=4547 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `shixun_ports`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `shixun_ports` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`port` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `shixun_schools`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `shixun_schools` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`school_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=170 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `shixun_tag_repertoires`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `shixun_tag_repertoires` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`tag_repertoire_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1020 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `shixuns`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `shixuns` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`gpid` int(11) DEFAULT NULL,
|
||
|
`visits` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
`language` varchar(255) DEFAULT NULL,
|
||
|
`authentication` tinyint(1) DEFAULT '0',
|
||
|
`identifier` varchar(255) DEFAULT NULL,
|
||
|
`propaedeutics` longtext,
|
||
|
`trainee` int(11) DEFAULT '1',
|
||
|
`major_id` int(11) DEFAULT NULL,
|
||
|
`webssh` int(11) DEFAULT '0',
|
||
|
`homepage_show` tinyint(1) DEFAULT '0',
|
||
|
`hidden` tinyint(1) DEFAULT '0',
|
||
|
`fork_from` int(11) DEFAULT NULL,
|
||
|
`can_copy` tinyint(1) DEFAULT '0',
|
||
|
`modify_time` datetime DEFAULT NULL,
|
||
|
`reset_time` datetime DEFAULT NULL,
|
||
|
`publish_time` datetime DEFAULT NULL,
|
||
|
`closer_id` int(11) DEFAULT NULL,
|
||
|
`end_time` datetime DEFAULT NULL,
|
||
|
`git_url` varchar(255) DEFAULT NULL,
|
||
|
`vnc` tinyint(1) DEFAULT '0',
|
||
|
`myshixuns_count` int(11) DEFAULT '0' COMMENT '学习人数',
|
||
|
`challenges_count` int(11) DEFAULT '0',
|
||
|
`use_scope` tinyint(4) DEFAULT '0',
|
||
|
`evaluate_script` longtext,
|
||
|
`mirror_script_id` int(11) DEFAULT NULL,
|
||
|
`image_text` varchar(60) DEFAULT NULL,
|
||
|
`code_hidden` tinyint(1) DEFAULT '0',
|
||
|
`task_pass` tinyint(1) DEFAULT '0',
|
||
|
`exec_time` int(11) DEFAULT '120',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_shixuns_on_identifier` (`identifier`),
|
||
|
KEY `index_shixuns_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1116 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `softapplications`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `softapplications` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`app_type_id` int(11) DEFAULT NULL,
|
||
|
`app_type_name` varchar(255) DEFAULT NULL,
|
||
|
`android_min_version_available` varchar(255) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`contest_id` int(11) DEFAULT NULL,
|
||
|
`softapplication_id` int(11) DEFAULT NULL,
|
||
|
`is_public` int(11) DEFAULT NULL,
|
||
|
`application_developers` varchar(255) DEFAULT NULL,
|
||
|
`deposit_project_url` varchar(255) DEFAULT NULL,
|
||
|
`deposit_project` varchar(255) DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `sonar_errors`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `sonar_errors` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`jenkins_job_name` varchar(255) DEFAULT NULL,
|
||
|
`output` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `ssos`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `ssos` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`openid` varchar(255) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`password` varchar(255) DEFAULT NULL,
|
||
|
`email` varchar(255) DEFAULT NULL,
|
||
|
`sex` int(11) DEFAULT NULL,
|
||
|
`school` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_ssos_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=89 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `stage_shixuns`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `stage_shixuns` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`subject_id` int(11) DEFAULT NULL,
|
||
|
`stage_id` int(11) DEFAULT NULL,
|
||
|
`shixun_id` int(11) DEFAULT NULL,
|
||
|
`position` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_stage_shixuns_on_subject_id` (`subject_id`),
|
||
|
KEY `index_stage_shixuns_on_stage_id` (`stage_id`),
|
||
|
KEY `index_stage_shixuns_on_shixun_id` (`shixun_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1216 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `stages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `stages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`subject_id` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`position` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_stages_on_subject_id` (`subject_id`),
|
||
|
KEY `index_stages_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=254 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `student_work_projects`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `student_work_projects` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`homework_common_id` int(11) DEFAULT NULL,
|
||
|
`student_work_id` int(11) DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`is_leader` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_student_work_projects_on_homework_common_id` (`homework_common_id`),
|
||
|
KEY `index_student_work_projects_on_user_id` (`user_id`),
|
||
|
KEY `index_student_work_projects_on_project_id` (`project_id`),
|
||
|
KEY `index_student_work_projects_on_student_work_id` (`student_work_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=4970 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `student_work_tests`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `student_work_tests` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`student_work_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`status` int(11) DEFAULT '9',
|
||
|
`results` text,
|
||
|
`src` text,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_student_work_tests_on_student_work_id` (`student_work_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=373663 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `student_works`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `student_works` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` longtext,
|
||
|
`homework_common_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`final_score` float DEFAULT NULL,
|
||
|
`teacher_score` float DEFAULT NULL,
|
||
|
`student_score` float DEFAULT NULL,
|
||
|
`teaching_asistant_score` float DEFAULT NULL,
|
||
|
`project_id` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`late_penalty` int(11) DEFAULT '0',
|
||
|
`absence_penalty` int(11) DEFAULT '0',
|
||
|
`system_score` float DEFAULT '0',
|
||
|
`is_test` tinyint(1) DEFAULT '0',
|
||
|
`simi_id` int(11) DEFAULT NULL,
|
||
|
`simi_value` int(11) DEFAULT NULL,
|
||
|
`work_score` float DEFAULT NULL,
|
||
|
`work_status` int(11) DEFAULT '0',
|
||
|
`commit_time` datetime DEFAULT NULL,
|
||
|
`is_delete` int(11) DEFAULT '0',
|
||
|
`appeal_penalty` int(11) DEFAULT '0',
|
||
|
`re_commit` tinyint(1) DEFAULT '0',
|
||
|
`late_reason` text,
|
||
|
`group_id` int(11) DEFAULT '0',
|
||
|
`myshixun_id` int(11) DEFAULT '0',
|
||
|
`update_time` datetime DEFAULT NULL,
|
||
|
`commit_user_id` int(11) DEFAULT NULL,
|
||
|
`ultimate_score` tinyint(1) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_student_works_on_homework_common_id_and_user_id` (`homework_common_id`,`user_id`),
|
||
|
KEY `myshixun_id` (`myshixun_id`),
|
||
|
KEY `index_student_works_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=578531 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `student_works_evaluation_distributions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `student_works_evaluation_distributions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`student_work_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=156340 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `student_works_scores`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `student_works_scores` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`student_work_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`score` int(11) DEFAULT NULL,
|
||
|
`comment` text,
|
||
|
`reviewer_role` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`appeal_status` int(11) DEFAULT '0',
|
||
|
`is_hidden` tinyint(1) DEFAULT '0',
|
||
|
`is_ultimate` tinyint(1) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `user_id` (`user_id`),
|
||
|
KEY `student_work_id` (`student_work_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=142316 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `student_works_scores_appeals`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `student_works_scores_appeals` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`student_works_score_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`comment` text,
|
||
|
`appeal_status` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `students_for_courses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `students_for_courses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`student_id` int(11) DEFAULT NULL,
|
||
|
`course_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_students_for_courses_on_student_id` (`student_id`),
|
||
|
KEY `index_students_for_courses_on_course_id` (`course_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=53883 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `sub_document_comments`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `sub_document_comments` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`content` text,
|
||
|
`title` text,
|
||
|
`sub_domain_id` int(11) DEFAULT NULL,
|
||
|
`creator_id` int(11) DEFAULT NULL,
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
`reply_id` int(11) DEFAULT NULL,
|
||
|
`locked` int(11) DEFAULT NULL,
|
||
|
`sticky` int(11) DEFAULT NULL,
|
||
|
`org_subfield_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `sub_domains`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `sub_domains` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`org_subfield_id` int(11) DEFAULT NULL,
|
||
|
`priority` int(11) DEFAULT '0',
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`field_type` varchar(255) DEFAULT NULL,
|
||
|
`hide` int(11) DEFAULT '0',
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `sub_repertoires`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `sub_repertoires` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`repertoire_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_sub_repertoires_on_repertoire_id` (`repertoire_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `subfield_subdomain_dirs`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `subfield_subdomain_dirs` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`org_subfield_id` int(11) DEFAULT NULL,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=65 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `subject_members`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `subject_members` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`subject_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`role` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_subject_members_on_subject_id` (`subject_id`),
|
||
|
KEY `index_subject_members_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `subjects`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `subjects` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`visits` int(11) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`course_list_id` int(11) DEFAULT NULL,
|
||
|
`major_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`hidden` tinyint(1) DEFAULT '0',
|
||
|
`learning_notes` text,
|
||
|
`introduction` varchar(255) DEFAULT NULL,
|
||
|
`stages_count` int(11) DEFAULT '0',
|
||
|
`stage_shixuns_count` int(11) DEFAULT '0',
|
||
|
`homepage_show` tinyint(1) DEFAULT '0',
|
||
|
`repertoire_id` int(11) DEFAULT NULL,
|
||
|
`score_count` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_subjects_on_user_id` (`user_id`),
|
||
|
KEY `index_subjects_on_course_list_id` (`course_list_id`),
|
||
|
KEY `index_subjects_on_major_id` (`major_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=84 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `syllabus_members`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `syllabus_members` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`rank` int(11) DEFAULT NULL,
|
||
|
`syllabus_id` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_syllabus_members_on_syllabus_id` (`syllabus_id`),
|
||
|
KEY `index_syllabus_members_on_user_id` (`user_id`),
|
||
|
KEY `index_syllabus_members_on_rank` (`rank`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1009 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `syllabus_update_records`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `syllabus_update_records` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`syllabus_id` int(11) DEFAULT NULL,
|
||
|
`property` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_syllabus_update_records_on_user_id` (`user_id`),
|
||
|
KEY `index_syllabus_update_records_on_syllabus_id` (`syllabus_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `syllabuses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `syllabuses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`title` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`eng_name` varchar(255) DEFAULT NULL,
|
||
|
`syllabus_type` int(11) DEFAULT NULL,
|
||
|
`credit` int(11) DEFAULT NULL,
|
||
|
`hours` int(11) DEFAULT NULL,
|
||
|
`theory_hours` int(11) DEFAULT NULL,
|
||
|
`practice_hours` int(11) DEFAULT NULL,
|
||
|
`applicable_major` varchar(255) DEFAULT NULL,
|
||
|
`pre_course` varchar(255) DEFAULT NULL,
|
||
|
`visits` int(11) DEFAULT '0',
|
||
|
`des_status` int(11) DEFAULT '0',
|
||
|
`major_level` int(11) DEFAULT NULL,
|
||
|
`discipline_category_id` int(11) DEFAULT NULL,
|
||
|
`first_level_discipline_id` int(11) DEFAULT NULL,
|
||
|
`major_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_syllabuses_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=997 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `system_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `system_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`content` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`description` text,
|
||
|
`subject` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `system_update_notices`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `system_update_notices` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`subject` varchar(255) DEFAULT NULL,
|
||
|
`notes` text,
|
||
|
`start_time` datetime DEFAULT NULL,
|
||
|
`end_time` datetime DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`notice_type` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `tag_repertoires`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `tag_repertoires` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`sub_repertoire_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=165 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `taggings`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `taggings` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`tag_id` int(11) DEFAULT NULL,
|
||
|
`taggable_id` int(11) DEFAULT NULL,
|
||
|
`taggable_type` varchar(255) DEFAULT NULL,
|
||
|
`tagger_id` int(11) DEFAULT NULL,
|
||
|
`tagger_type` varchar(255) DEFAULT NULL,
|
||
|
`context` varchar(128) DEFAULT NULL,
|
||
|
`created_at` datetime DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_taggings_on_tag_id` (`tag_id`),
|
||
|
KEY `index_taggings_on_taggable_id_and_taggable_type_and_context` (`taggable_id`,`taggable_type`,`context`),
|
||
|
KEY `index_taggings_on_taggable_type` (`taggable_type`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=907227 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `tags`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `tags` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=135634 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `teachers`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `teachers` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`tea_name` varchar(255) DEFAULT NULL,
|
||
|
`location` varchar(255) DEFAULT NULL,
|
||
|
`couurse_time` int(11) DEFAULT NULL,
|
||
|
`course_code` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`extra` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `test_sets`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `test_sets` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`input` varchar(255) DEFAULT NULL,
|
||
|
`output` text,
|
||
|
`challenge_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`is_public` tinyint(1) DEFAULT '1',
|
||
|
`result` tinyint(1) DEFAULT '1',
|
||
|
`position` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `testset` (`challenge_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=20790 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `tidings`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `tidings` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`trigger_user_id` int(11) DEFAULT NULL,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`parent_container_id` int(11) DEFAULT NULL,
|
||
|
`parent_container_type` varchar(255) DEFAULT NULL,
|
||
|
`belong_container_id` int(11) DEFAULT NULL,
|
||
|
`belong_container_type` varchar(255) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`viewed` tinyint(1) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`tiding_type` varchar(255) DEFAULT NULL,
|
||
|
`extra` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=123332 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `time_entries`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `time_entries` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) NOT NULL,
|
||
|
`user_id` int(11) NOT NULL,
|
||
|
`issue_id` int(11) DEFAULT NULL,
|
||
|
`hours` float NOT NULL,
|
||
|
`comments` varchar(255) DEFAULT NULL,
|
||
|
`activity_id` int(11) NOT NULL,
|
||
|
`spent_on` date NOT NULL,
|
||
|
`tyear` int(11) NOT NULL,
|
||
|
`tmonth` int(11) NOT NULL,
|
||
|
`tweek` int(11) NOT NULL,
|
||
|
`created_on` datetime NOT NULL,
|
||
|
`updated_on` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `time_entries_project_id` (`project_id`),
|
||
|
KEY `time_entries_issue_id` (`issue_id`),
|
||
|
KEY `index_time_entries_on_activity_id` (`activity_id`),
|
||
|
KEY `index_time_entries_on_user_id` (`user_id`),
|
||
|
KEY `index_time_entries_on_created_on` (`created_on`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `tokens`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `tokens` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`action` varchar(30) NOT NULL DEFAULT '',
|
||
|
`value` varchar(40) NOT NULL DEFAULT '',
|
||
|
`created_on` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
UNIQUE KEY `tokens_value` (`value`),
|
||
|
KEY `index_tokens_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=116513 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `trackers`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `trackers` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(30) NOT NULL DEFAULT '',
|
||
|
`is_in_chlog` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`position` int(11) DEFAULT '1',
|
||
|
`is_in_roadmap` tinyint(1) NOT NULL DEFAULT '1',
|
||
|
`fields_bits` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `training_tasks`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `training_tasks` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) DEFAULT NULL,
|
||
|
`tracker_id` int(11) DEFAULT NULL,
|
||
|
`subject` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`author_id` int(11) DEFAULT NULL,
|
||
|
`status` tinyint(4) DEFAULT '0',
|
||
|
`position` tinyint(4) DEFAULT '0',
|
||
|
`result` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_actions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_actions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`action_type` varchar(255) DEFAULT NULL,
|
||
|
`action_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1258332 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_activities`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_activities` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`act_type` varchar(255) DEFAULT NULL,
|
||
|
`act_id` int(11) DEFAULT NULL,
|
||
|
`container_type` varchar(255) DEFAULT NULL,
|
||
|
`container_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `user_act_index` (`act_id`,`act_type`,`container_id`,`created_at`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=137962 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_day_certifications`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_day_certifications` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_user_day_certifications_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=304 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_extensions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_extensions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) NOT NULL,
|
||
|
`birthday` date DEFAULT NULL,
|
||
|
`brief_introduction` varchar(255) DEFAULT NULL,
|
||
|
`gender` int(11) DEFAULT NULL,
|
||
|
`location` varchar(255) DEFAULT NULL,
|
||
|
`occupation` varchar(255) DEFAULT NULL,
|
||
|
`work_experience` int(11) DEFAULT NULL,
|
||
|
`zip_code` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`technical_title` varchar(255) DEFAULT NULL,
|
||
|
`identity` int(11) DEFAULT NULL,
|
||
|
`student_id` varchar(255) DEFAULT NULL,
|
||
|
`teacher_realname` varchar(255) DEFAULT NULL,
|
||
|
`student_realname` varchar(255) DEFAULT NULL,
|
||
|
`location_city` varchar(255) DEFAULT NULL,
|
||
|
`school_id` int(11) DEFAULT NULL,
|
||
|
`description` varchar(255) DEFAULT '',
|
||
|
`department_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_user_extensions_on_user_id` (`user_id`),
|
||
|
KEY `index_user_extensions_on_school_id` (`school_id`),
|
||
|
KEY `index_user_extensions_on_department_id` (`department_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=35959 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_feedback_messages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_feedback_messages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`journals_for_message_id` int(11) DEFAULT NULL,
|
||
|
`journals_for_message_type` varchar(255) DEFAULT NULL,
|
||
|
`viewed` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_user_feedback_messages_on_user_id_and_created_at` (`user_id`,`created_at`),
|
||
|
KEY `index_user_feedback_messages_on_journals_for_message_id` (`journals_for_message_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=30409 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_grades`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_grades` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) NOT NULL,
|
||
|
`project_id` int(11) NOT NULL,
|
||
|
`grade` float DEFAULT '0',
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_user_grades_on_grade` (`grade`),
|
||
|
KEY `index_user_grades_on_project_id` (`project_id`),
|
||
|
KEY `index_user_grades_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=7683 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_hidden_modules`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_hidden_modules` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`module_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_user_hidden_modules_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=932 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_levels`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_levels` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`level` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=6330 DEFAULT CHARSET=latin1;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_preferences`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_preferences` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`others` text,
|
||
|
`hide_mail` tinyint(1) DEFAULT '0',
|
||
|
`time_zone` varchar(255) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_user_preferences_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=34261 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_score_details`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_score_details` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`current_user_id` int(11) DEFAULT NULL,
|
||
|
`target_user_id` int(11) DEFAULT NULL,
|
||
|
`score_type` varchar(255) DEFAULT NULL,
|
||
|
`score_action` varchar(255) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`old_score` int(11) DEFAULT NULL,
|
||
|
`new_score` int(11) DEFAULT NULL,
|
||
|
`current_user_level` int(11) DEFAULT NULL,
|
||
|
`target_user_level` int(11) DEFAULT NULL,
|
||
|
`score_changeable_obj_id` int(11) DEFAULT NULL,
|
||
|
`score_changeable_obj_type` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=55181 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_scores`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_scores` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) NOT NULL,
|
||
|
`collaboration` int(11) DEFAULT NULL,
|
||
|
`influence` int(11) DEFAULT NULL,
|
||
|
`skill` int(11) DEFAULT NULL,
|
||
|
`active` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=10128 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_searches`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_searches` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`search_type` int(11) DEFAULT NULL,
|
||
|
`subject` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_user_searches_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1273 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_statuses`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_statuses` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`changesets_count` int(11) DEFAULT NULL,
|
||
|
`watchers_count` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`grade` float DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_user_statuses_on_changesets_count` (`changesets_count`),
|
||
|
KEY `index_user_statuses_on_watchers_count` (`watchers_count`),
|
||
|
KEY `index_user_statuses_on_grade` (`grade`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=35170 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_system_notices`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_system_notices` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`notice_type` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_user_system_notices_on_user_id` (`user_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1214 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `user_wechats`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `user_wechats` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`subscribe` int(11) DEFAULT NULL,
|
||
|
`openid` varchar(255) DEFAULT NULL,
|
||
|
`nickname` varchar(255) DEFAULT NULL,
|
||
|
`sex` int(11) DEFAULT NULL,
|
||
|
`language` varchar(255) DEFAULT NULL,
|
||
|
`city` varchar(255) DEFAULT NULL,
|
||
|
`province` varchar(255) DEFAULT NULL,
|
||
|
`country` varchar(255) DEFAULT NULL,
|
||
|
`headimgurl` varchar(255) DEFAULT NULL,
|
||
|
`subscribe_time` varchar(255) DEFAULT NULL,
|
||
|
`unionid` varchar(255) DEFAULT NULL,
|
||
|
`remark` varchar(255) DEFAULT NULL,
|
||
|
`groupid` int(11) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`bindtype` int(11) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2424 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `users`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `users` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`login` varchar(255) NOT NULL DEFAULT '',
|
||
|
`hashed_password` varchar(40) NOT NULL DEFAULT '',
|
||
|
`firstname` varchar(30) NOT NULL DEFAULT '',
|
||
|
`lastname` varchar(255) NOT NULL DEFAULT '',
|
||
|
`mail` varchar(60) NOT NULL DEFAULT '',
|
||
|
`admin` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`status` int(11) NOT NULL DEFAULT '1',
|
||
|
`last_login_on` datetime DEFAULT NULL,
|
||
|
`language` varchar(5) DEFAULT '',
|
||
|
`auth_source_id` int(11) DEFAULT NULL,
|
||
|
`created_on` datetime DEFAULT NULL,
|
||
|
`updated_on` datetime DEFAULT NULL,
|
||
|
`type` varchar(255) DEFAULT NULL,
|
||
|
`identity_url` varchar(255) DEFAULT NULL,
|
||
|
`mail_notification` varchar(255) NOT NULL DEFAULT '',
|
||
|
`salt` varchar(64) DEFAULT NULL,
|
||
|
`gid` int(11) DEFAULT NULL,
|
||
|
`visits` int(11) DEFAULT '0',
|
||
|
`excellent_teacher` int(11) DEFAULT '0',
|
||
|
`excellent_student` int(11) DEFAULT '0',
|
||
|
`phone` varchar(255) DEFAULT NULL,
|
||
|
`authentication` tinyint(1) DEFAULT '0',
|
||
|
`grade` int(11) DEFAULT NULL,
|
||
|
`experience` int(11) DEFAULT '0',
|
||
|
`nickname` varchar(255) DEFAULT NULL,
|
||
|
`show_realname` tinyint(1) DEFAULT '1',
|
||
|
`professional_certification` tinyint(1) DEFAULT '0',
|
||
|
`ID_number` varchar(255) DEFAULT NULL,
|
||
|
`certification` int(11) DEFAULT '0',
|
||
|
`homepage_teacher` tinyint(1) DEFAULT '0',
|
||
|
`homepage_engineer` tinyint(1) DEFAULT '0',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_users_on_id_and_type` (`id`,`type`),
|
||
|
KEY `index_users_on_auth_source_id` (`auth_source_id`),
|
||
|
KEY `index_users_on_type` (`type`),
|
||
|
KEY `index_users_on_homepage_engineer` (`homepage_engineer`),
|
||
|
KEY `index_users_on_homepage_teacher` (`homepage_teacher`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=36346 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `users_authentications`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `users_authentications` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`authentication_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `verification_codes`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `verification_codes` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`code` varchar(255) DEFAULT NULL,
|
||
|
`code_type` int(11) DEFAULT NULL,
|
||
|
`status` int(11) DEFAULT NULL,
|
||
|
`phone` varchar(255) DEFAULT NULL,
|
||
|
`email` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=27716 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `versions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `versions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`name` varchar(255) NOT NULL DEFAULT '',
|
||
|
`description` varchar(255) DEFAULT '',
|
||
|
`effective_date` date DEFAULT NULL,
|
||
|
`created_on` datetime DEFAULT NULL,
|
||
|
`updated_on` datetime DEFAULT NULL,
|
||
|
`wiki_page_title` varchar(255) DEFAULT NULL,
|
||
|
`status` varchar(255) DEFAULT 'open',
|
||
|
`sharing` varchar(255) NOT NULL DEFAULT 'none',
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `versions_project_id` (`project_id`),
|
||
|
KEY `index_versions_on_sharing` (`sharing`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=456 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `visitors`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `visitors` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`master_id` int(11) DEFAULT NULL,
|
||
|
`updated_on` datetime DEFAULT NULL,
|
||
|
`created_on` datetime DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_visitors_user_id` (`user_id`),
|
||
|
KEY `index_visitors_master_id` (`master_id`),
|
||
|
KEY `index_visitors_updated_on` (`updated_on`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=61423 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `watchers`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `watchers` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`watchable_type` varchar(255) NOT NULL DEFAULT '',
|
||
|
`watchable_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `watchers_user_id_type` (`user_id`,`watchable_type`),
|
||
|
KEY `index_watchers_on_user_id` (`user_id`),
|
||
|
KEY `index_watchers_on_watchable_id_and_watchable_type` (`watchable_id`,`watchable_type`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=36722 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `web_footer_companies`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `web_footer_companies` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`logo_size` varchar(255) DEFAULT NULL,
|
||
|
`url` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `web_footer_oranizers`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `web_footer_oranizers` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `websshes`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `websshes` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`myshixun_id` int(11) DEFAULT NULL,
|
||
|
`host` varchar(255) DEFAULT NULL,
|
||
|
`port` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `wechat_logs`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `wechat_logs` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`openid` varchar(255) NOT NULL,
|
||
|
`request_raw` text,
|
||
|
`response_raw` text,
|
||
|
`session_raw` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_wechat_logs_on_openid` (`openid`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=119051 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `wiki_content_versions`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `wiki_content_versions` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`wiki_content_id` int(11) NOT NULL,
|
||
|
`page_id` int(11) NOT NULL,
|
||
|
`author_id` int(11) DEFAULT NULL,
|
||
|
`data` longblob,
|
||
|
`compression` varchar(6) DEFAULT '',
|
||
|
`comments` varchar(255) DEFAULT '',
|
||
|
`updated_on` datetime NOT NULL,
|
||
|
`version` int(11) NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `wiki_content_versions_wcid` (`wiki_content_id`),
|
||
|
KEY `index_wiki_content_versions_on_updated_on` (`updated_on`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=264 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `wiki_contents`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `wiki_contents` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`page_id` int(11) NOT NULL,
|
||
|
`author_id` int(11) DEFAULT NULL,
|
||
|
`text` longtext,
|
||
|
`comments` varchar(255) DEFAULT '',
|
||
|
`updated_on` datetime NOT NULL,
|
||
|
`version` int(11) NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `wiki_contents_page_id` (`page_id`),
|
||
|
KEY `index_wiki_contents_on_author_id` (`author_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `wiki_pages`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `wiki_pages` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`wiki_id` int(11) NOT NULL,
|
||
|
`title` varchar(255) NOT NULL,
|
||
|
`created_on` datetime NOT NULL,
|
||
|
`protected` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`parent_id` int(11) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `wiki_pages_wiki_id_title` (`wiki_id`,`title`),
|
||
|
KEY `index_wiki_pages_on_wiki_id` (`wiki_id`),
|
||
|
KEY `index_wiki_pages_on_parent_id` (`parent_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `wiki_redirects`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `wiki_redirects` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`wiki_id` int(11) NOT NULL,
|
||
|
`title` varchar(255) DEFAULT NULL,
|
||
|
`redirects_to` varchar(255) DEFAULT NULL,
|
||
|
`created_on` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `wiki_redirects_wiki_id_title` (`wiki_id`,`title`),
|
||
|
KEY `index_wiki_redirects_on_wiki_id` (`wiki_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `wikis`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `wikis` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(11) NOT NULL,
|
||
|
`start_page` varchar(255) NOT NULL,
|
||
|
`status` int(11) NOT NULL DEFAULT '1',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `wikis_project_id` (`project_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=2825 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `work_detail_groups`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `work_detail_groups` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`work_id` int(11) DEFAULT NULL,
|
||
|
`min_num` int(11) DEFAULT NULL,
|
||
|
`max_num` int(11) DEFAULT NULL,
|
||
|
`base_on_project` tinyint(1) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_work_detail_groups_on_work_id` (`work_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `work_detail_manuals`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `work_detail_manuals` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`evaluation_start` date DEFAULT NULL,
|
||
|
`evaluation_end` date DEFAULT NULL,
|
||
|
`evaluation_num` int(11) DEFAULT NULL,
|
||
|
`work_id` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_work_detail_manuals_on_work_id` (`work_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `workflows`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `workflows` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`tracker_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`old_status_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`new_status_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`role_id` int(11) NOT NULL DEFAULT '0',
|
||
|
`assignee` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`author` tinyint(1) NOT NULL DEFAULT '0',
|
||
|
`type` varchar(30) DEFAULT NULL,
|
||
|
`field_name` varchar(30) DEFAULT NULL,
|
||
|
`rule` varchar(30) DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `wkfs_role_tracker_old_status` (`role_id`,`tracker_id`,`old_status_id`),
|
||
|
KEY `index_workflows_on_old_status_id` (`old_status_id`),
|
||
|
KEY `index_workflows_on_role_id` (`role_id`),
|
||
|
KEY `index_workflows_on_new_status_id` (`new_status_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=626 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `works`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `works` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`name` varchar(255) DEFAULT NULL,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`description` text,
|
||
|
`publish_time` date DEFAULT NULL,
|
||
|
`end_time` date DEFAULT NULL,
|
||
|
`work_type` int(11) DEFAULT NULL,
|
||
|
`contest_id` int(11) DEFAULT NULL,
|
||
|
`is_delete` tinyint(1) DEFAULT '0',
|
||
|
`score_open` tinyint(1) DEFAULT '0',
|
||
|
`is_open` tinyint(1) DEFAULT '0',
|
||
|
`work_status` int(11) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
`online_evaluation` tinyint(1) DEFAULT '0',
|
||
|
`score_valid` tinyint(1) DEFAULT '1',
|
||
|
PRIMARY KEY (`id`),
|
||
|
KEY `index_works_on_user_id` (`user_id`),
|
||
|
KEY `index_works_on_contest_id` (`contest_id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `works_categories`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `works_categories` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`category` varchar(255) DEFAULT NULL,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
DROP TABLE IF EXISTS `zip_packs`;
|
||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
|
/*!40101 SET character_set_client = utf8 */;
|
||
|
CREATE TABLE `zip_packs` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
`user_id` int(11) DEFAULT NULL,
|
||
|
`homework_id` int(11) DEFAULT NULL,
|
||
|
`file_digest` varchar(255) DEFAULT NULL,
|
||
|
`file_path` varchar(255) DEFAULT NULL,
|
||
|
`pack_times` int(11) DEFAULT '1',
|
||
|
`pack_size` int(11) DEFAULT '0',
|
||
|
`file_digests` text,
|
||
|
`created_at` datetime NOT NULL,
|
||
|
`updated_at` datetime NOT NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=25828 DEFAULT CHARSET=utf8;
|
||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||
|
|
||
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||
|
|
||
|
INSERT INTO `schema_migrations` (version) VALUES
|
||
|
('1'),
|
||
|
('10'),
|
||
|
('100'),
|
||
|
('101'),
|
||
|
('102'),
|
||
|
('103'),
|
||
|
('104'),
|
||
|
('105'),
|
||
|
('106'),
|
||
|
('107'),
|
||
|
('108'),
|
||
|
('11'),
|
||
|
('12'),
|
||
|
('13'),
|
||
|
('14'),
|
||
|
('15'),
|
||
|
('16'),
|
||
|
('17'),
|
||
|
('18'),
|
||
|
('19'),
|
||
|
('2'),
|
||
|
('20'),
|
||
|
('20090214190337'),
|
||
|
('20090312172426'),
|
||
|
('20090312194159'),
|
||
|
('20090318181151'),
|
||
|
('20090323224724'),
|
||
|
('20090401221305'),
|
||
|
('20090401231134'),
|
||
|
('20090403001910'),
|
||
|
('20090406161854'),
|
||
|
('20090425161243'),
|
||
|
('20090503121501'),
|
||
|
('20090503121505'),
|
||
|
('20090503121510'),
|
||
|
('20090614091200'),
|
||
|
('20090704172350'),
|
||
|
('20090704172355'),
|
||
|
('20090704172358'),
|
||
|
('20091010093521'),
|
||
|
('20091017212227'),
|
||
|
('20091017212457'),
|
||
|
('20091017212644'),
|
||
|
('20091017212938'),
|
||
|
('20091017213027'),
|
||
|
('20091017213113'),
|
||
|
('20091017213151'),
|
||
|
('20091017213228'),
|
||
|
('20091017213257'),
|
||
|
('20091017213332'),
|
||
|
('20091017213444'),
|
||
|
('20091017213536'),
|
||
|
('20091017213642'),
|
||
|
('20091017213716'),
|
||
|
('20091017213757'),
|
||
|
('20091017213835'),
|
||
|
('20091017213910'),
|
||
|
('20091017214015'),
|
||
|
('20091017214107'),
|
||
|
('20091017214136'),
|
||
|
('20091017214236'),
|
||
|
('20091017214308'),
|
||
|
('20091017214336'),
|
||
|
('20091017214406'),
|
||
|
('20091017214440'),
|
||
|
('20091017214519'),
|
||
|
('20091017214611'),
|
||
|
('20091017214644'),
|
||
|
('20091017214720'),
|
||
|
('20091017214750'),
|
||
|
('20091025163651'),
|
||
|
('20091108092559'),
|
||
|
('20091114105931'),
|
||
|
('20091123212029'),
|
||
|
('20091205124427'),
|
||
|
('20091220183509'),
|
||
|
('20091220183727'),
|
||
|
('20091220184736'),
|
||
|
('20091225164732'),
|
||
|
('20091227112908'),
|
||
|
('20100129193402'),
|
||
|
('20100129193813'),
|
||
|
('20100221100219'),
|
||
|
('20100313132032'),
|
||
|
('20100313171051'),
|
||
|
('20100705164950'),
|
||
|
('20100819172912'),
|
||
|
('20101104182107'),
|
||
|
('20101107130441'),
|
||
|
('20101114115114'),
|
||
|
('20101114115359'),
|
||
|
('20110220160626'),
|
||
|
('20110223180944'),
|
||
|
('20110223180953'),
|
||
|
('20110224000000'),
|
||
|
('20110226120112'),
|
||
|
('20110226120132'),
|
||
|
('20110227125750'),
|
||
|
('20110228000000'),
|
||
|
('20110228000100'),
|
||
|
('20110401192910'),
|
||
|
('20110408103312'),
|
||
|
('20110412065600'),
|
||
|
('20110511000000'),
|
||
|
('20110902000000'),
|
||
|
('20111201201315'),
|
||
|
('20120115143024'),
|
||
|
('20120115143100'),
|
||
|
('20120115143126'),
|
||
|
('20120127174243'),
|
||
|
('20120205111326'),
|
||
|
('20120223110929'),
|
||
|
('20120301153455'),
|
||
|
('20120422150750'),
|
||
|
('20120705074331'),
|
||
|
('20120707064544'),
|
||
|
('20120714122000'),
|
||
|
('20120714122100'),
|
||
|
('20120714122200'),
|
||
|
('20120731164049'),
|
||
|
('20120930112914'),
|
||
|
('20121026002032'),
|
||
|
('20121026003537'),
|
||
|
('20121209123234'),
|
||
|
('20121209123358'),
|
||
|
('20121213084931'),
|
||
|
('20130110122628'),
|
||
|
('20130201184705'),
|
||
|
('20130202090625'),
|
||
|
('20130207175206'),
|
||
|
('20130207181455'),
|
||
|
('20130215073721'),
|
||
|
('20130215111127'),
|
||
|
('20130215111141'),
|
||
|
('20130217094251'),
|
||
|
('20130418001207-redmine_ckeditor'),
|
||
|
('20130418001208-redmine_ckeditor'),
|
||
|
('20130418001209-redmine_ckeditor'),
|
||
|
('20130418001210-redmine_ckeditor'),
|
||
|
('20130725021433'),
|
||
|
('20130725122407'),
|
||
|
('20130725132508'),
|
||
|
('20130727021306'),
|
||
|
('20130728021709'),
|
||
|
('20130801081314'),
|
||
|
('20130805131602'),
|
||
|
('20130806072429'),
|
||
|
('20130806083151'),
|
||
|
('20130806083152'),
|
||
|
('20130807021235'),
|
||
|
('20130807021309'),
|
||
|
('20130807031901'),
|
||
|
('20130809122945'),
|
||
|
('20130810014337'),
|
||
|
('20130810085341'),
|
||
|
('20130811001727'),
|
||
|
('20130811122119'),
|
||
|
('20130814084938'),
|
||
|
('20130819020004'),
|
||
|
('20130823133435'),
|
||
|
('20130823143552'),
|
||
|
('20130827003308'),
|
||
|
('20130828004955'),
|
||
|
('20130828080407'),
|
||
|
('20130831080808'),
|
||
|
('20130831080955'),
|
||
|
('20130904075504'),
|
||
|
('20130904135804'),
|
||
|
('20130906124330'),
|
||
|
('20130910075221'),
|
||
|
('20130911005626'),
|
||
|
('20130911135608'),
|
||
|
('20130911140019'),
|
||
|
('20130911140205'),
|
||
|
('20130913005337'),
|
||
|
('20130913125835'),
|
||
|
('20130917123036'),
|
||
|
('20130918004629'),
|
||
|
('20130918085747'),
|
||
|
('20130922123727'),
|
||
|
('20130922123849'),
|
||
|
('20130925031313'),
|
||
|
('20130926005448'),
|
||
|
('20130926140427'),
|
||
|
('20130927011824'),
|
||
|
('20130929011921'),
|
||
|
('20131009074454'),
|
||
|
('20131017080750'),
|
||
|
('20131017120541'),
|
||
|
('20131017131615'),
|
||
|
('20131017135933'),
|
||
|
('20131017140104'),
|
||
|
('20131017140123'),
|
||
|
('20131021024144'),
|
||
|
('20131031071414'),
|
||
|
('20131031071452'),
|
||
|
('20131031093317'),
|
||
|
('20131107073302'),
|
||
|
('20131108133857'),
|
||
|
('20131112005309'),
|
||
|
('20131112015232'),
|
||
|
('20131113124237'),
|
||
|
('20131122020026'),
|
||
|
('20131122132942'),
|
||
|
('20131215065910'),
|
||
|
('20131224021723'),
|
||
|
('20140318011702'),
|
||
|
('20140318021747'),
|
||
|
('20140318072309'),
|
||
|
('20140319092720'),
|
||
|
('20140320015156'),
|
||
|
('20140320022724'),
|
||
|
('20140324015819'),
|
||
|
('20140327071420'),
|
||
|
('20140327073052'),
|
||
|
('20140327082704'),
|
||
|
('20140401004102'),
|
||
|
('20140401121611'),
|
||
|
('20140402023357'),
|
||
|
('20140403075029'),
|
||
|
('20140403113341'),
|
||
|
('20140404030103'),
|
||
|
('20140404031622'),
|
||
|
('20140410015850'),
|
||
|
('20140410020848'),
|
||
|
('20140410021724'),
|
||
|
('20140411003234'),
|
||
|
('20140411004155'),
|
||
|
('20140411005214'),
|
||
|
('20140411011700'),
|
||
|
('20140413022725'),
|
||
|
('20140414012423'),
|
||
|
('20140415090718'),
|
||
|
('20140415090829'),
|
||
|
('20140417085550'),
|
||
|
('20140417090022'),
|
||
|
('20140417091429'),
|
||
|
('20140421044829'),
|
||
|
('20140421044830'),
|
||
|
('20140424022002'),
|
||
|
('20140424072458'),
|
||
|
('20140428005537'),
|
||
|
('20140428013546'),
|
||
|
('20140505082635'),
|
||
|
('20140505083218'),
|
||
|
('20140505083430'),
|
||
|
('20140508030039'),
|
||
|
('20140508030358'),
|
||
|
('20140509020307'),
|
||
|
('20140513073801'),
|
||
|
('20140515013449'),
|
||
|
('20140516031200'),
|
||
|
('20140519020211'),
|
||
|
('20140519030825'),
|
||
|
('20140519054846'),
|
||
|
('20140519070751'),
|
||
|
('20140519074133'),
|
||
|
('20140521072851'),
|
||
|
('20140522025137'),
|
||
|
('20140522025721'),
|
||
|
('20140526031949'),
|
||
|
('20140526104509'),
|
||
|
('20140527060344'),
|
||
|
('20140529084427'),
|
||
|
('20140530010015'),
|
||
|
('20140530102014'),
|
||
|
('20140603033359'),
|
||
|
('20140603042015'),
|
||
|
('20140603081801'),
|
||
|
('20140604011630'),
|
||
|
('20140604071623'),
|
||
|
('20140604071624'),
|
||
|
('20140605003915'),
|
||
|
('20140605025247'),
|
||
|
('20140605025300'),
|
||
|
('20140605025302'),
|
||
|
('20140605025303'),
|
||
|
('20140606027403'),
|
||
|
('20140606028512'),
|
||
|
('20140609061903'),
|
||
|
('20140611161801'),
|
||
|
('20140617013146'),
|
||
|
('20140617092219'),
|
||
|
('20140618020535'),
|
||
|
('20140618105213'),
|
||
|
('20140618155324'),
|
||
|
('20140626012511'),
|
||
|
('20140701031909'),
|
||
|
('20140701075839'),
|
||
|
('20140703011335'),
|
||
|
('20140703085204'),
|
||
|
('20140704034832'),
|
||
|
('20140707095213'),
|
||
|
('20140708023356'),
|
||
|
('20140710024054'),
|
||
|
('20140710030426'),
|
||
|
('20140710071720'),
|
||
|
('20140710095123'),
|
||
|
('20140711010124'),
|
||
|
('20140711012924'),
|
||
|
('20140714021812'),
|
||
|
('20140714081030'),
|
||
|
('20140715015540'),
|
||
|
('20140716021202'),
|
||
|
('20140716021558'),
|
||
|
('20140718091306'),
|
||
|
('20140719030741'),
|
||
|
('20140719030941'),
|
||
|
('20140719080032'),
|
||
|
('20140721074353'),
|
||
|
('20140722024513'),
|
||
|
('20140722080529'),
|
||
|
('20140722080924'),
|
||
|
('20140723082637'),
|
||
|
('20140724080319'),
|
||
|
('20140725013735'),
|
||
|
('20140725062302'),
|
||
|
('20140725073357'),
|
||
|
('20140728014933'),
|
||
|
('20140730021521'),
|
||
|
('20140730024419'),
|
||
|
('20140801034242'),
|
||
|
('20140811022947'),
|
||
|
('20140812032957'),
|
||
|
('20140812065147'),
|
||
|
('20140812065417'),
|
||
|
('20140814062455'),
|
||
|
('20140826072838'),
|
||
|
('20140916005319'),
|
||
|
('20140922032830'),
|
||
|
('20140930072719'),
|
||
|
('20141009010934'),
|
||
|
('20141009055029'),
|
||
|
('20141013014908'),
|
||
|
('20141013023400'),
|
||
|
('20141029065917'),
|
||
|
('20141031065238'),
|
||
|
('20141031111632'),
|
||
|
('20141031122331'),
|
||
|
('20141102054414'),
|
||
|
('20141103015148'),
|
||
|
('20141103032156'),
|
||
|
('20141103065703'),
|
||
|
('20141105012624'),
|
||
|
('20141119011439'),
|
||
|
('20141120091234'),
|
||
|
('20141126091207'),
|
||
|
('20141126091750'),
|
||
|
('20141127015431'),
|
||
|
('20141127072548'),
|
||
|
('20141201085218'),
|
||
|
('20141210070327'),
|
||
|
('20141226074532'),
|
||
|
('20141229025519'),
|
||
|
('20141229025925'),
|
||
|
('20141229081716'),
|
||
|
('20141229141201'),
|
||
|
('20141230011546'),
|
||
|
('20141230034253'),
|
||
|
('20141230062844'),
|
||
|
('20141230081209'),
|
||
|
('20141230081744'),
|
||
|
('20141231020031'),
|
||
|
('20141231085350'),
|
||
|
('20150108034148'),
|
||
|
('20150108034253'),
|
||
|
('20150108034414'),
|
||
|
('20150108035301'),
|
||
|
('20150108035338'),
|
||
|
('20150112024820'),
|
||
|
('20150112080435'),
|
||
|
('20150114022710'),
|
||
|
('20150121030451'),
|
||
|
('20150123020615'),
|
||
|
('20150128032421'),
|
||
|
('20150206023634'),
|
||
|
('20150206060632'),
|
||
|
('20150210062236'),
|
||
|
('20150227061944'),
|
||
|
('20150227065713'),
|
||
|
('20150227083257'),
|
||
|
('20150227085333'),
|
||
|
('20150302061232'),
|
||
|
('20150302091345'),
|
||
|
('20150305011023'),
|
||
|
('20150305011359'),
|
||
|
('20150305081132'),
|
||
|
('20150309090143'),
|
||
|
('20150311013036'),
|
||
|
('20150316032155'),
|
||
|
('20150316083717'),
|
||
|
('20150318025244'),
|
||
|
('20150324021043'),
|
||
|
('20150328115230'),
|
||
|
('20150331031554'),
|
||
|
('20150331032810'),
|
||
|
('20150402015402'),
|
||
|
('20150409092151'),
|
||
|
('20150414115406'),
|
||
|
('20150415032102'),
|
||
|
('20150422034543'),
|
||
|
('20150428021035'),
|
||
|
('20150505023015'),
|
||
|
('20150505023127'),
|
||
|
('20150505023452'),
|
||
|
('20150505025003'),
|
||
|
('20150505025537'),
|
||
|
('20150510100343'),
|
||
|
('20150514133640'),
|
||
|
('20150519012744'),
|
||
|
('20150519014600'),
|
||
|
('20150519014639'),
|
||
|
('20150519020031'),
|
||
|
('20150519022200'),
|
||
|
('20150519023821'),
|
||
|
('20150519030544'),
|
||
|
('20150528024616'),
|
||
|
('20150601032112'),
|
||
|
('20150602021020'),
|
||
|
('20150602055730'),
|
||
|
('20150604153000'),
|
||
|
('20150619060110'),
|
||
|
('20150630031857'),
|
||
|
('20150702073245'),
|
||
|
('20150702073308'),
|
||
|
('20150708025533'),
|
||
|
('20150708085629'),
|
||
|
('20150709071731'),
|
||
|
('20150712063406'),
|
||
|
('20150713161100'),
|
||
|
('20150714161100'),
|
||
|
('20150714162200'),
|
||
|
('20150715070534'),
|
||
|
('20150715162300'),
|
||
|
('20150719092427'),
|
||
|
('20150722015428'),
|
||
|
('20150730093403'),
|
||
|
('20150730130816'),
|
||
|
('20150801034945'),
|
||
|
('20150810064247'),
|
||
|
('20150811010817'),
|
||
|
('20150811065543'),
|
||
|
('20150811080754'),
|
||
|
('20150811083322'),
|
||
|
('20150814011838'),
|
||
|
('20150814024425'),
|
||
|
('20150814031258'),
|
||
|
('20150815030833'),
|
||
|
('20150819090720'),
|
||
|
('20150820004659'),
|
||
|
('20150820022416'),
|
||
|
('20150820025358'),
|
||
|
('20150824133916'),
|
||
|
('20150826020407'),
|
||
|
('20150826061843'),
|
||
|
('20150828011415'),
|
||
|
('20150828155329'),
|
||
|
('20150829023459'),
|
||
|
('20150829024549'),
|
||
|
('20150829081822'),
|
||
|
('20150829130302'),
|
||
|
('20150831070611'),
|
||
|
('20150831093918'),
|
||
|
('20150901004812'),
|
||
|
('20150901004910'),
|
||
|
('20150906025009'),
|
||
|
('20150906065702'),
|
||
|
('20150906083453'),
|
||
|
('20150906090419'),
|
||
|
('20150906091723'),
|
||
|
('20150907064144'),
|
||
|
('20150907064547'),
|
||
|
('20150907152238'),
|
||
|
('20150909062619'),
|
||
|
('20150911031029'),
|
||
|
('20150911064528'),
|
||
|
('20150914063751'),
|
||
|
('20150915063302'),
|
||
|
('20150917022239'),
|
||
|
('20150917071652'),
|
||
|
('20150917081214'),
|
||
|
('20150918004521'),
|
||
|
('20150918005722'),
|
||
|
('20150918063404'),
|
||
|
('20150918134804'),
|
||
|
('20150924063215'),
|
||
|
('20150925025200'),
|
||
|
('20150925060939'),
|
||
|
('20150928090128'),
|
||
|
('20150930011457'),
|
||
|
('20151013023237'),
|
||
|
('20151013081912'),
|
||
|
('20151013091057'),
|
||
|
('20151013092356'),
|
||
|
('20151014012627'),
|
||
|
('20151014013243'),
|
||
|
('20151014023806'),
|
||
|
('20151020013352'),
|
||
|
('20151020014759'),
|
||
|
('20151020021234'),
|
||
|
('20151022071611'),
|
||
|
('20151022071804'),
|
||
|
('20151028060607'),
|
||
|
('20151029030006'),
|
||
|
('20151102083844'),
|
||
|
('20151102084419'),
|
||
|
('20151102085318'),
|
||
|
('20151102090519'),
|
||
|
('20151103011119'),
|
||
|
('20151104020233'),
|
||
|
('20151104024335'),
|
||
|
('20151104032831'),
|
||
|
('20151104070007'),
|
||
|
('20151104070455'),
|
||
|
('20151104073902'),
|
||
|
('20151104090032'),
|
||
|
('20151109073857'),
|
||
|
('20151109080256'),
|
||
|
('20151110011003'),
|
||
|
('20151112072948'),
|
||
|
('20151113025341'),
|
||
|
('20151113025459'),
|
||
|
('20151113025524'),
|
||
|
('20151113025549'),
|
||
|
('20151113025721'),
|
||
|
('20151113025751'),
|
||
|
('20151116020842'),
|
||
|
('20151116065904'),
|
||
|
('20151116071721'),
|
||
|
('20151117033430'),
|
||
|
('20151117075939'),
|
||
|
('20151118014720'),
|
||
|
('20151118015638'),
|
||
|
('20151118031602'),
|
||
|
('20151119124148'),
|
||
|
('20151120021958'),
|
||
|
('20151120115137'),
|
||
|
('20151120134208'),
|
||
|
('20151124032319'),
|
||
|
('20151125064914'),
|
||
|
('20151126160252'),
|
||
|
('20151127011351'),
|
||
|
('20151130031446'),
|
||
|
('20151130032658'),
|
||
|
('20151130033906'),
|
||
|
('20151130064556'),
|
||
|
('20151202064455'),
|
||
|
('20151203030635'),
|
||
|
('20151203072815'),
|
||
|
('20151204030143'),
|
||
|
('20151204062220'),
|
||
|
('20151208015409'),
|
||
|
('20151208025236'),
|
||
|
('20151208032013'),
|
||
|
('20151208073241'),
|
||
|
('20151209085900'),
|
||
|
('20151209085942'),
|
||
|
('20151215070238'),
|
||
|
('20151215105425'),
|
||
|
('20151216025539'),
|
||
|
('20151216030610'),
|
||
|
('20151217051447'),
|
||
|
('20151218022014'),
|
||
|
('20151218110033'),
|
||
|
('20151223062932'),
|
||
|
('20151224090313'),
|
||
|
('20151229022049'),
|
||
|
('20151229045505'),
|
||
|
('20151230015410'),
|
||
|
('20151230015904'),
|
||
|
('20151230022443'),
|
||
|
('20151231012634'),
|
||
|
('20151231023235'),
|
||
|
('20151231023610'),
|
||
|
('20160104082423'),
|
||
|
('20160105014033'),
|
||
|
('20160105073350'),
|
||
|
('20160106065255'),
|
||
|
('20160107050736'),
|
||
|
('20160108021447'),
|
||
|
('20160108024752'),
|
||
|
('20160108093752'),
|
||
|
('20160111064927'),
|
||
|
('20160111065137'),
|
||
|
('20160111065215'),
|
||
|
('20160111065530'),
|
||
|
('20160111071348'),
|
||
|
('20160111071411'),
|
||
|
('20160111071529'),
|
||
|
('20160111071558'),
|
||
|
('20160111080833'),
|
||
|
('20160111080914'),
|
||
|
('20160112085834'),
|
||
|
('20160113023045'),
|
||
|
('20160113023137'),
|
||
|
('20160113024927'),
|
||
|
('20160113063514'),
|
||
|
('20160113064153'),
|
||
|
('20160113090435'),
|
||
|
('20160114022833'),
|
||
|
('20160114022928'),
|
||
|
('20160114131753'),
|
||
|
('20160115021923'),
|
||
|
('20160115022341'),
|
||
|
('20160115023749'),
|
||
|
('20160115125217'),
|
||
|
('20160116034925'),
|
||
|
('20160118014219'),
|
||
|
('20160118083751'),
|
||
|
('20160119034447'),
|
||
|
('20160120032758'),
|
||
|
('20160121070232'),
|
||
|
('20160122023014'),
|
||
|
('20160122083400'),
|
||
|
('20160122083507'),
|
||
|
('20160122094805'),
|
||
|
('20160122094829'),
|
||
|
('20160122142844'),
|
||
|
('20160122143138'),
|
||
|
('20160126024429'),
|
||
|
('20160126031857'),
|
||
|
('20160128024452'),
|
||
|
('20160202034530'),
|
||
|
('20160220100507'),
|
||
|
('20160222064143'),
|
||
|
('20160223021227'),
|
||
|
('20160223031843'),
|
||
|
('20160223073859'),
|
||
|
('20160224032046'),
|
||
|
('20160224074034'),
|
||
|
('20160225024759'),
|
||
|
('20160303103231'),
|
||
|
('20160304154005'),
|
||
|
('20160304234903'),
|
||
|
('20160309022930'),
|
||
|
('20160309024051'),
|
||
|
('20160309072649'),
|
||
|
('20160310033019'),
|
||
|
('20160311072540'),
|
||
|
('20160311072622'),
|
||
|
('20160311072718'),
|
||
|
('20160311072819'),
|
||
|
('20160316055201'),
|
||
|
('20160317070611'),
|
||
|
('20160317090350'),
|
||
|
('20160321071740'),
|
||
|
('20160321073042'),
|
||
|
('20160321073107'),
|
||
|
('20160321073227'),
|
||
|
('20160321075815'),
|
||
|
('20160321080116'),
|
||
|
('20160321080336'),
|
||
|
('20160321080412'),
|
||
|
('20160321080825'),
|
||
|
('20160321085313'),
|
||
|
('20160322032610'),
|
||
|
('20160324052634'),
|
||
|
('20160324074942'),
|
||
|
('20160325030146'),
|
||
|
('20160325030423'),
|
||
|
('20160328022312'),
|
||
|
('20160328022623'),
|
||
|
('20160329014316'),
|
||
|
('20160330095711'),
|
||
|
('20160331063938'),
|
||
|
('20160405021915'),
|
||
|
('20160408074854'),
|
||
|
('20160414055511'),
|
||
|
('20160414060838'),
|
||
|
('20160415025623'),
|
||
|
('20160415030447'),
|
||
|
('20160418074429'),
|
||
|
('20160419061745'),
|
||
|
('20160419074016'),
|
||
|
('20160421011543'),
|
||
|
('20160426084709'),
|
||
|
('20160427061847'),
|
||
|
('20160427070237'),
|
||
|
('20160428065243'),
|
||
|
('20160429015956'),
|
||
|
('20160429030819'),
|
||
|
('20160504060751'),
|
||
|
('20160506085852'),
|
||
|
('20160506104128'),
|
||
|
('20160509025404'),
|
||
|
('20160511055221'),
|
||
|
('20160513012705'),
|
||
|
('20160513021204'),
|
||
|
('20160513120002'),
|
||
|
('20160517013659'),
|
||
|
('20160517091224'),
|
||
|
('20160518031514'),
|
||
|
('20160518060243'),
|
||
|
('20160519070718'),
|
||
|
('20160523085440'),
|
||
|
('20160526093715'),
|
||
|
('20160531021244'),
|
||
|
('20160601073753'),
|
||
|
('20160606064856'),
|
||
|
('20160612030537'),
|
||
|
('20160612043259'),
|
||
|
('20160613064914'),
|
||
|
('20160613065840'),
|
||
|
('20160614072229'),
|
||
|
('20160622033322'),
|
||
|
('20160622074138'),
|
||
|
('20160624032138'),
|
||
|
('20160624054614'),
|
||
|
('20160624055127'),
|
||
|
('20160624103411'),
|
||
|
('20160627074232'),
|
||
|
('20160627090316'),
|
||
|
('20160629030320'),
|
||
|
('20160629081520'),
|
||
|
('20160629084146'),
|
||
|
('20160629094716'),
|
||
|
('20160630112733'),
|
||
|
('20160707031248'),
|
||
|
('20160708005533'),
|
||
|
('20160708091258'),
|
||
|
('20160709015740'),
|
||
|
('20160715091215'),
|
||
|
('20160718064146'),
|
||
|
('20160719013955'),
|
||
|
('20160720094503'),
|
||
|
('20160721075236'),
|
||
|
('20160722074421'),
|
||
|
('20160725062343'),
|
||
|
('20160725091759'),
|
||
|
('20160727020247'),
|
||
|
('20160727065357'),
|
||
|
('20160728041513'),
|
||
|
('20160728041943'),
|
||
|
('20160728075947'),
|
||
|
('20160729020903'),
|
||
|
('20160729124038'),
|
||
|
('20160729124833'),
|
||
|
('20160810080942'),
|
||
|
('20160810081337'),
|
||
|
('20160811084401'),
|
||
|
('20160824073554'),
|
||
|
('20160830090214'),
|
||
|
('20160905084821'),
|
||
|
('20160907055119'),
|
||
|
('20160907061917'),
|
||
|
('20160913063446'),
|
||
|
('20160914073340'),
|
||
|
('20160918024056'),
|
||
|
('20160918024214'),
|
||
|
('20160918033136'),
|
||
|
('20160918074635'),
|
||
|
('20160921062340'),
|
||
|
('20160923024443'),
|
||
|
('20161008015936'),
|
||
|
('20161009053958'),
|
||
|
('20161011012114'),
|
||
|
('20161014085016'),
|
||
|
('20161015013348'),
|
||
|
('20161015054820'),
|
||
|
('20161015102324'),
|
||
|
('20161018082432'),
|
||
|
('20161019020422'),
|
||
|
('20161020055047'),
|
||
|
('20161027070249'),
|
||
|
('20161028053000'),
|
||
|
('20161111064007'),
|
||
|
('20161111070615'),
|
||
|
('20161111071624'),
|
||
|
('20161111081619'),
|
||
|
('20161114092115'),
|
||
|
('20161115082005'),
|
||
|
('20161117015856'),
|
||
|
('20161117060138'),
|
||
|
('20161121063025'),
|
||
|
('20161121091826'),
|
||
|
('20161125024643'),
|
||
|
('20161128030405'),
|
||
|
('20161128072528'),
|
||
|
('20161129032534'),
|
||
|
('20161129033440'),
|
||
|
('20161129084352'),
|
||
|
('20161130031415'),
|
||
|
('20161201015458'),
|
||
|
('20161201073217'),
|
||
|
('20161201083030'),
|
||
|
('20161202024209'),
|
||
|
('20161202073523'),
|
||
|
('20161206061652'),
|
||
|
('20161208015939'),
|
||
|
('20161213074134'),
|
||
|
('20161214060728'),
|
||
|
('20161214080008'),
|
||
|
('20161216031906'),
|
||
|
('20161220062249'),
|
||
|
('20161220090638'),
|
||
|
('20161220090826'),
|
||
|
('20161220093609'),
|
||
|
('20161221055334'),
|
||
|
('20161221060341'),
|
||
|
('20161221060853'),
|
||
|
('20161221065228'),
|
||
|
('20161221065841'),
|
||
|
('20161221070253'),
|
||
|
('20161221070623'),
|
||
|
('20161222033007'),
|
||
|
('20161222063638'),
|
||
|
('20161223025155'),
|
||
|
('20161223030701'),
|
||
|
('20161223083022'),
|
||
|
('20161227085308'),
|
||
|
('20161228070235'),
|
||
|
('20161228091749'),
|
||
|
('20161230005953'),
|
||
|
('20161230061940'),
|
||
|
('20170105024224'),
|
||
|
('20170106024520'),
|
||
|
('20170111021557'),
|
||
|
('20170111030006'),
|
||
|
('20170112072122'),
|
||
|
('20170112082231'),
|
||
|
('20170117161330'),
|
||
|
('20170119072629'),
|
||
|
('20170119084215'),
|
||
|
('20170120021457'),
|
||
|
('20170120120614'),
|
||
|
('20170207060207'),
|
||
|
('20170209020934'),
|
||
|
('20170210082105'),
|
||
|
('20170217004513'),
|
||
|
('20170217092541'),
|
||
|
('20170217092859'),
|
||
|
('20170217104309'),
|
||
|
('20170218074506'),
|
||
|
('20170219025424'),
|
||
|
('20170219062646'),
|
||
|
('20170219070127'),
|
||
|
('20170220060000'),
|
||
|
('20170220060210'),
|
||
|
('20170220065632'),
|
||
|
('20170222072150'),
|
||
|
('20170227074837'),
|
||
|
('20170228133958'),
|
||
|
('20170302020239'),
|
||
|
('20170302032957'),
|
||
|
('20170302073836'),
|
||
|
('20170302094330'),
|
||
|
('20170303030731'),
|
||
|
('20170303071513'),
|
||
|
('20170306070453'),
|
||
|
('20170307082304'),
|
||
|
('20170307092931'),
|
||
|
('20170307093928'),
|
||
|
('20170309024921'),
|
||
|
('20170309062850'),
|
||
|
('20170310011834'),
|
||
|
('20170310014056'),
|
||
|
('20170310032024'),
|
||
|
('20170310053903'),
|
||
|
('20170310072101'),
|
||
|
('20170314072825'),
|
||
|
('20170314081550'),
|
||
|
('20170314082632'),
|
||
|
('20170314085929'),
|
||
|
('20170315103005'),
|
||
|
('20170317022123'),
|
||
|
('20170317022508'),
|
||
|
('20170317022557'),
|
||
|
('20170320054808'),
|
||
|
('20170321081658'),
|
||
|
('20170321102722'),
|
||
|
('20170322033103'),
|
||
|
('20170322095511'),
|
||
|
('20170323081518'),
|
||
|
('20170324054735'),
|
||
|
('20170324090202'),
|
||
|
('20170328064900'),
|
||
|
('20170328065349'),
|
||
|
('20170328065735'),
|
||
|
('20170328081152'),
|
||
|
('20170328082148'),
|
||
|
('20170330084904'),
|
||
|
('20170331013652'),
|
||
|
('20170401055830'),
|
||
|
('20170405075018'),
|
||
|
('20170410085204'),
|
||
|
('20170410085945'),
|
||
|
('20170410092257'),
|
||
|
('20170411013813'),
|
||
|
('20170411093519'),
|
||
|
('20170412023151'),
|
||
|
('20170412063958'),
|
||
|
('20170412075557'),
|
||
|
('20170413030447'),
|
||
|
('20170413032641'),
|
||
|
('20170413064458'),
|
||
|
('20170413065659'),
|
||
|
('20170414023452'),
|
||
|
('20170414024741'),
|
||
|
('20170414084212'),
|
||
|
('20170416064210'),
|
||
|
('20170417081351'),
|
||
|
('20170419070551'),
|
||
|
('20170419112951'),
|
||
|
('20170419132939'),
|
||
|
('20170420080141'),
|
||
|
('20170420081959'),
|
||
|
('20170425064652'),
|
||
|
('20170425072017'),
|
||
|
('20170425085926'),
|
||
|
('20170425092430'),
|
||
|
('20170426020613'),
|
||
|
('20170426024708'),
|
||
|
('20170426024822'),
|
||
|
('20170426060122'),
|
||
|
('20170427011453'),
|
||
|
('20170427013052'),
|
||
|
('20170427031044'),
|
||
|
('20170502083644'),
|
||
|
('20170502091943'),
|
||
|
('20170503062237'),
|
||
|
('20170503062507'),
|
||
|
('20170503075321'),
|
||
|
('20170503085743'),
|
||
|
('20170504021749'),
|
||
|
('20170504065145'),
|
||
|
('20170504070210'),
|
||
|
('20170505025616'),
|
||
|
('20170505032131'),
|
||
|
('20170505085001'),
|
||
|
('20170508081347'),
|
||
|
('20170509080544'),
|
||
|
('20170511020541'),
|
||
|
('20170515070741'),
|
||
|
('20170515071837'),
|
||
|
('20170515073053'),
|
||
|
('20170517020032'),
|
||
|
('20170518015629'),
|
||
|
('20170518064248'),
|
||
|
('20170522062153'),
|
||
|
('20170522071931'),
|
||
|
('20170522130310'),
|
||
|
('20170523011829'),
|
||
|
('20170526022745'),
|
||
|
('20170526023023'),
|
||
|
('20170526062330'),
|
||
|
('20170526062907'),
|
||
|
('20170526063836'),
|
||
|
('20170526073920'),
|
||
|
('20170526090359'),
|
||
|
('20170602021309'),
|
||
|
('20170607015139'),
|
||
|
('20170607021803'),
|
||
|
('20170609061623'),
|
||
|
('20170614020255'),
|
||
|
('20170615070234'),
|
||
|
('20170615080332'),
|
||
|
('20170615105442'),
|
||
|
('20170619091405'),
|
||
|
('20170621023044'),
|
||
|
('20170622013100'),
|
||
|
('20170623030431'),
|
||
|
('20170626022454'),
|
||
|
('20170626031135'),
|
||
|
('20170626055814'),
|
||
|
('20170627073830'),
|
||
|
('20170704074622'),
|
||
|
('20170705064602'),
|
||
|
('20170705071652'),
|
||
|
('20170705073342'),
|
||
|
('20170705083812'),
|
||
|
('20170705090958'),
|
||
|
('20170705091953'),
|
||
|
('20170706024154'),
|
||
|
('20170706071415'),
|
||
|
('20170711091159'),
|
||
|
('20170712023923'),
|
||
|
('20170713024020'),
|
||
|
('20170713030017'),
|
||
|
('20170717083910'),
|
||
|
('20170718013325'),
|
||
|
('20170718022342'),
|
||
|
('20170718080353'),
|
||
|
('20170720013004'),
|
||
|
('20170721015724'),
|
||
|
('20170721022106'),
|
||
|
('20170721060845'),
|
||
|
('20170728080308'),
|
||
|
('20170728082516'),
|
||
|
('20170802012507'),
|
||
|
('20170804062817'),
|
||
|
('20170807063211'),
|
||
|
('20170808021426'),
|
||
|
('20170808033437'),
|
||
|
('20170810012934'),
|
||
|
('20170811055836'),
|
||
|
('20170817092910'),
|
||
|
('20170822032004'),
|
||
|
('20170822032223'),
|
||
|
('20170822032810'),
|
||
|
('20170822062358'),
|
||
|
('20170822080604'),
|
||
|
('20170824103529'),
|
||
|
('20170825031026'),
|
||
|
('20170825032003'),
|
||
|
('20170825113413'),
|
||
|
('20170827023117'),
|
||
|
('20170829021122'),
|
||
|
('20170830032124'),
|
||
|
('20170830093154'),
|
||
|
('20170831015104'),
|
||
|
('20170831015613'),
|
||
|
('20170831022201'),
|
||
|
('20170831022550'),
|
||
|
('20170831092348'),
|
||
|
('20170904071627'),
|
||
|
('20170904082600'),
|
||
|
('20170904091629'),
|
||
|
('20170907021641'),
|
||
|
('20170907025441'),
|
||
|
('20170907061723'),
|
||
|
('20170907100131'),
|
||
|
('20170908020109'),
|
||
|
('20170908115908'),
|
||
|
('20170911033152'),
|
||
|
('20170912024832'),
|
||
|
('20170912090828'),
|
||
|
('20170914013811'),
|
||
|
('20170914024926'),
|
||
|
('20170915085332'),
|
||
|
('20170918014832'),
|
||
|
('20170918090054'),
|
||
|
('20170918092326'),
|
||
|
('20170920022714'),
|
||
|
('20170920065705'),
|
||
|
('20170921084836'),
|
||
|
('20170922015144'),
|
||
|
('20170922091816'),
|
||
|
('20170922112450'),
|
||
|
('20170922114504'),
|
||
|
('20170926012936'),
|
||
|
('20170927015114'),
|
||
|
('20170930023907'),
|
||
|
('20170930024003'),
|
||
|
('20170930081820'),
|
||
|
('20170930082930'),
|
||
|
('20170930122738'),
|
||
|
('20171010071751'),
|
||
|
('20171011084944'),
|
||
|
('20171012073054'),
|
||
|
('20171012101648'),
|
||
|
('20171013081923'),
|
||
|
('20171013083722'),
|
||
|
('20171013115401'),
|
||
|
('20171014070618'),
|
||
|
('20171014074021'),
|
||
|
('20171014080052'),
|
||
|
('20171014095120'),
|
||
|
('20171019065522'),
|
||
|
('20171020011305'),
|
||
|
('20171023115525'),
|
||
|
('20171024014724'),
|
||
|
('20171024015602'),
|
||
|
('20171024015824'),
|
||
|
('20171024020826'),
|
||
|
('20171024030645'),
|
||
|
('20171024081725'),
|
||
|
('20171026105403'),
|
||
|
('20171027090248'),
|
||
|
('20171027090356'),
|
||
|
('20171027090458'),
|
||
|
('20171027110314'),
|
||
|
('20171030070711'),
|
||
|
('20171030072123'),
|
||
|
('20171030085925'),
|
||
|
('20171031025843'),
|
||
|
('20171031062353'),
|
||
|
('20171031072755'),
|
||
|
('20171101020347'),
|
||
|
('20171101022807'),
|
||
|
('20171103031157'),
|
||
|
('20171106030726'),
|
||
|
('20171106083916'),
|
||
|
('20171107013142'),
|
||
|
('20171108032131'),
|
||
|
('20171108080344'),
|
||
|
('20171109022624'),
|
||
|
('20171109060716'),
|
||
|
('20171109065843'),
|
||
|
('20171110083046'),
|
||
|
('20171113062848'),
|
||
|
('20171113084709'),
|
||
|
('20171114070152'),
|
||
|
('20171115023919'),
|
||
|
('20171115032026'),
|
||
|
('20171115071239'),
|
||
|
('20171115084833'),
|
||
|
('20171116015944'),
|
||
|
('20171117015511'),
|
||
|
('20171117031934'),
|
||
|
('20171117082126'),
|
||
|
('20171117093339'),
|
||
|
('20171121063613'),
|
||
|
('20171121072336'),
|
||
|
('20171121080141'),
|
||
|
('20171122015449'),
|
||
|
('20171122080410'),
|
||
|
('20171122081525'),
|
||
|
('20171122091118'),
|
||
|
('20171123022414'),
|
||
|
('20171123065703'),
|
||
|
('20171123070319'),
|
||
|
('20171124071537'),
|
||
|
('20171124072840'),
|
||
|
('20171124080022'),
|
||
|
('20171124080516'),
|
||
|
('20171124081330'),
|
||
|
('20171124120750'),
|
||
|
('20171124122621'),
|
||
|
('20171128032158'),
|
||
|
('20171129075555'),
|
||
|
('20171201092823'),
|
||
|
('20171208020535'),
|
||
|
('20171208031726'),
|
||
|
('20171208092415'),
|
||
|
('20171211091713'),
|
||
|
('20171212082837'),
|
||
|
('20171212093226'),
|
||
|
('20171212100049'),
|
||
|
('20171213062609'),
|
||
|
('20171213064646'),
|
||
|
('20171213072616'),
|
||
|
('20171213073348'),
|
||
|
('20171214021853'),
|
||
|
('20171214023018'),
|
||
|
('20171214025420'),
|
||
|
('20171214063652'),
|
||
|
('20171214084429'),
|
||
|
('20171214085019'),
|
||
|
('20171215010708'),
|
||
|
('20171215113239'),
|
||
|
('20171218031524'),
|
||
|
('20171219033623'),
|
||
|
('20171219054106'),
|
||
|
('20171219062652'),
|
||
|
('20171220013630'),
|
||
|
('20171221021043'),
|
||
|
('20171221054254'),
|
||
|
('20171221074055'),
|
||
|
('20171221083438'),
|
||
|
('20171221092115'),
|
||
|
('20171222013450'),
|
||
|
('20171222022504'),
|
||
|
('20171222060821'),
|
||
|
('20171222071113'),
|
||
|
('20171222075831'),
|
||
|
('20171222132047'),
|
||
|
('20171222152033'),
|
||
|
('20171225085155'),
|
||
|
('20171226060732'),
|
||
|
('20171226065503'),
|
||
|
('20171226070302'),
|
||
|
('20171226075551'),
|
||
|
('20171226092333'),
|
||
|
('20171226101132'),
|
||
|
('20171227065103'),
|
||
|
('20171227083935'),
|
||
|
('20171228085816'),
|
||
|
('20171228122117'),
|
||
|
('20171229082949'),
|
||
|
('20171229094541'),
|
||
|
('20180102022853'),
|
||
|
('20180104013923'),
|
||
|
('20180105023335'),
|
||
|
('20180105093310'),
|
||
|
('20180109081109'),
|
||
|
('20180110012234'),
|
||
|
('20180112121731'),
|
||
|
('20180115083549'),
|
||
|
('20180116030420'),
|
||
|
('20180118060556'),
|
||
|
('20180118073148'),
|
||
|
('20180118090936'),
|
||
|
('20180119083918'),
|
||
|
('20180122071811'),
|
||
|
('20180123082641'),
|
||
|
('20180124114615'),
|
||
|
('20180129090133'),
|
||
|
('20180131061311'),
|
||
|
('20180131064555'),
|
||
|
('20180131070154'),
|
||
|
('20180201091245'),
|
||
|
('20180202063413'),
|
||
|
('20180202091641'),
|
||
|
('20180204022311'),
|
||
|
('20180205083404'),
|
||
|
('20180206083254'),
|
||
|
('20180207013445'),
|
||
|
('20180207020017'),
|
||
|
('20180207024825'),
|
||
|
('20180207081311'),
|
||
|
('20180228024546'),
|
||
|
('20180228024951'),
|
||
|
('20180309075023'),
|
||
|
('20180313060218'),
|
||
|
('20180314022506'),
|
||
|
('20180314070401'),
|
||
|
('20180316064901'),
|
||
|
('20180316065917'),
|
||
|
('20180316071234'),
|
||
|
('20180316082825'),
|
||
|
('20180316123807'),
|
||
|
('20180318014622'),
|
||
|
('20180321072457'),
|
||
|
('20180321082129'),
|
||
|
('20180328074357'),
|
||
|
('20180330025749'),
|
||
|
('20180330071500'),
|
||
|
('20180403082849'),
|
||
|
('20180404031923'),
|
||
|
('20180404032519'),
|
||
|
('20180404060342'),
|
||
|
('20180408031817'),
|
||
|
('20180409082423'),
|
||
|
('20180409085809'),
|
||
|
('20180410005959'),
|
||
|
('20180410010815'),
|
||
|
('20180410011903'),
|
||
|
('20180410012604'),
|
||
|
('20180410023305'),
|
||
|
('20180410033026'),
|
||
|
('20180411015053'),
|
||
|
('20180411021857'),
|
||
|
('20180411030750'),
|
||
|
('20180411072015'),
|
||
|
('20180413012742'),
|
||
|
('20180415033808'),
|
||
|
('20180416070001'),
|
||
|
('20180416073019'),
|
||
|
('20180416082938'),
|
||
|
('20180418023500'),
|
||
|
('20180418023608'),
|
||
|
('20180418065309'),
|
||
|
('20180420025051'),
|
||
|
('20180420030114'),
|
||
|
('20180420072903'),
|
||
|
('20180424014459'),
|
||
|
('20180424032725'),
|
||
|
('20180425083336'),
|
||
|
('20180503074404'),
|
||
|
('20180504155310'),
|
||
|
('20180511031742'),
|
||
|
('20180515013318'),
|
||
|
('20180517032433'),
|
||
|
('20180517074054'),
|
||
|
('20180521030537'),
|
||
|
('20180522042604'),
|
||
|
('20180522062045'),
|
||
|
('20180522063657'),
|
||
|
('20180523021343'),
|
||
|
('20180523033339'),
|
||
|
('20180523072755'),
|
||
|
('20180524072611'),
|
||
|
('20180525091540'),
|
||
|
('20180525092331'),
|
||
|
('20180529064425'),
|
||
|
('20180531084726'),
|
||
|
('20180531091113'),
|
||
|
('20180531104205'),
|
||
|
('20180601080626'),
|
||
|
('20180604080213'),
|
||
|
('20180606091107'),
|
||
|
('20180607022655'),
|
||
|
('20180608013258'),
|
||
|
('20180608021656'),
|
||
|
('20180608082745'),
|
||
|
('20180612092939'),
|
||
|
('20180613071648'),
|
||
|
('20180614032357'),
|
||
|
('20180625080716'),
|
||
|
('20180627092727'),
|
||
|
('20180628062932'),
|
||
|
('20180629064058'),
|
||
|
('20180629112409'),
|
||
|
('20180703025928'),
|
||
|
('20180703030830'),
|
||
|
('20180710031834'),
|
||
|
('20180712024228'),
|
||
|
('20180713005958'),
|
||
|
('20180713092051'),
|
||
|
('20180713093156'),
|
||
|
('20180716032319'),
|
||
|
('20180716061450'),
|
||
|
('20180718024306'),
|
||
|
('20180718024839'),
|
||
|
('20180718085746'),
|
||
|
('20180719020018'),
|
||
|
('20180720081025'),
|
||
|
('20180723074456'),
|
||
|
('20180724010018'),
|
||
|
('20180726020714'),
|
||
|
('20180730023048'),
|
||
|
('20180730024428'),
|
||
|
('20180730082738'),
|
||
|
('20180731020501'),
|
||
|
('20180731023338'),
|
||
|
('20180731023445'),
|
||
|
('20180731024106'),
|
||
|
('20180801005016'),
|
||
|
('20180801080506'),
|
||
|
('20180805042542'),
|
||
|
('20180806030714'),
|
||
|
('20180806031346'),
|
||
|
('21'),
|
||
|
('22'),
|
||
|
('23'),
|
||
|
('24'),
|
||
|
('25'),
|
||
|
('26'),
|
||
|
('27'),
|
||
|
('28'),
|
||
|
('29'),
|
||
|
('3'),
|
||
|
('30'),
|
||
|
('31'),
|
||
|
('32'),
|
||
|
('33'),
|
||
|
('34'),
|
||
|
('35'),
|
||
|
('36'),
|
||
|
('37'),
|
||
|
('38'),
|
||
|
('39'),
|
||
|
('4'),
|
||
|
('40'),
|
||
|
('41'),
|
||
|
('42'),
|
||
|
('43'),
|
||
|
('44'),
|
||
|
('45'),
|
||
|
('46'),
|
||
|
('47'),
|
||
|
('48'),
|
||
|
('49'),
|
||
|
('5'),
|
||
|
('50'),
|
||
|
('51'),
|
||
|
('52'),
|
||
|
('53'),
|
||
|
('54'),
|
||
|
('55'),
|
||
|
('56'),
|
||
|
('57'),
|
||
|
('58'),
|
||
|
('59'),
|
||
|
('6'),
|
||
|
('60'),
|
||
|
('61'),
|
||
|
('62'),
|
||
|
('63'),
|
||
|
('64'),
|
||
|
('65'),
|
||
|
('66'),
|
||
|
('67'),
|
||
|
('68'),
|
||
|
('69'),
|
||
|
('7'),
|
||
|
('70'),
|
||
|
('71'),
|
||
|
('72'),
|
||
|
('73'),
|
||
|
('74'),
|
||
|
('75'),
|
||
|
('76'),
|
||
|
('77'),
|
||
|
('78'),
|
||
|
('79'),
|
||
|
('8'),
|
||
|
('80'),
|
||
|
('81'),
|
||
|
('82'),
|
||
|
('83'),
|
||
|
('84'),
|
||
|
('85'),
|
||
|
('86'),
|
||
|
('87'),
|
||
|
('88'),
|
||
|
('89'),
|
||
|
('9'),
|
||
|
('90'),
|
||
|
('91'),
|
||
|
('92'),
|
||
|
('93'),
|
||
|
('94'),
|
||
|
('95'),
|
||
|
('96'),
|
||
|
('97'),
|
||
|
('98'),
|
||
|
('99');
|
||
|
|
||
|
|