diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 4462eac4a..d39160df8 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -5,7 +5,7 @@ class ApplicationController < ActionController::Base
include RenderExpand
include RenderHelper
include ControllerRescueHandler
- # include LaboratoryHelper
+ include LaboratoryHelper
include GitHelper
include LoggerHelper
include LoginHelper
@@ -23,23 +23,23 @@ class ApplicationController < ActionController::Base
# 所有请求必须合法签名
def check_sign
- if !Rails.env.development?
- Rails.logger.info("66666 #{params}")
- # suffix = request.url.split(".").last.split("?").first
- # suffix_arr = ["xls", "xlsx", "pdf", "zip"] # excel文件先注释
- # unless suffix_arr.include?(suffix)
- if params[:client_key].present?
- randomcode = params[:randomcode]
- # tip_exception(501, "请求不合理") unless (Time.now.to_i - randomcode.to_i).between?(0,5)
-
- sign = Digest::MD5.hexdigest("#{OPENKEY}#{randomcode}")
- Rails.logger.info("2222 #{sign}")
- tip_exception(501, "请求不合理") if sign != params[:client_key]
- else
- tip_exception(501, "请求不合理")
- end
- # end
- end
+ # if !Rails.env.development?
+ # Rails.logger.info("66666 #{params}")
+ # # suffix = request.url.split(".").last.split("?").first
+ # # suffix_arr = ["xls", "xlsx", "pdf", "zip"] # excel文件先注释
+ # # unless suffix_arr.include?(suffix)
+ # if params[:client_key].present?
+ # randomcode = params[:randomcode]
+ # # tip_exception(501, "请求不合理") unless (Time.now.to_i - randomcode.to_i).between?(0,5)
+ #
+ # sign = Digest::MD5.hexdigest("#{OPENKEY}#{randomcode}")
+ # Rails.logger.info("2222 #{sign}")
+ # tip_exception(501, "请求不合理") if sign != params[:client_key]
+ # else
+ # tip_exception(501, "请求不合理")
+ # end
+ # # end
+ # end
end
# 全局配置参数
diff --git a/app/controllers/concerns/laboratory_helper.rb b/app/controllers/concerns/laboratory_helper.rb
index e03273d68..fea1565ff 100644
--- a/app/controllers/concerns/laboratory_helper.rb
+++ b/app/controllers/concerns/laboratory_helper.rb
@@ -29,4 +29,4 @@ module LaboratoryHelper
laboratory ||= (Laboratory.find_by_subdomain(request.subdomain) || Laboratory.find(1))
@_default_yun_session = "#{laboratory.try(:identifier).split('.').first}_user_id"
end
-end
\ No newline at end of file
+end
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index 544a49c8c..a2fb9e8bc 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -29,25 +29,6 @@ class UsersController < ApplicationController
@user = current_user
# TODO 等消息上线再打开注释
#@tidding_count = unviewed_tiddings(current_user) if current_user.present?
- @course =
- if params[:course_id]
- Course.find params[:course_id]
- elsif params[:board_id]
- Board.find(params[:board_id]).course
- elsif params[:graduation_topic_id]
- GraduationTopic.find(params[:graduation_topic_id]).course
- elsif params[:graduation_group_id]
- GraduationGroup.find(params[:graduation_group_id]).course
- elsif params[:graduation_work_id]
- GraduationWork.find(params[:graduation_work_id]).course
- elsif params[:graduation_task_id]
- GraduationTask.find(params[:graduation_task_id]).course
- elsif params[:poll_id]
- Poll.find(params[:poll_id]).course
- elsif params[:attachment_id]
- Attachment.find(params[:attachment_id]).course
- end
- @course_identity = current_user.course_identity(@course) if @course
rescue Exception => e
uid_logger_error(e.message)
missing_template
@@ -72,14 +53,14 @@ class UsersController < ApplicationController
# Redo: 消息总数缓存
def get_navigation_info
- @old_domain = edu_setting('old_edu_host')
- @user = current_user
- # 新消息数
- @new_message = @user.tidings.where("created_at > '#{@user.click_time}'").count > 0 || @user.private_messages.where("created_at > '#{@user.click_time}'").count > 0
-
- @user_url = "/users/#{@user.login}"
- @career = Career.where(status: true).order("created_at asc").pluck(:id, :name)
- @auth = User.current.ec_school.present? ? "#{@old_domain}/ecs/department?school_id=#{User.current.ec_school}" : nil
+ # @old_domain = edu_setting('old_edu_host')
+ # @user = current_user
+ # # 新消息数
+ # @new_message = @user.tidings.where("created_at > '#{@user.click_time}'").count > 0 || @user.private_messages.where("created_at > '#{@user.click_time}'").count > 0
+ #
+ # @user_url = "/users/#{@user.login}"
+ # @career = Career.where(status: true).order("created_at asc").pluck(:id, :name)
+ # @auth = User.current.ec_school.present? ? "#{@old_domain}/ecs/department?school_id=#{User.current.ec_school}" : nil
end
# 用户回复功能
diff --git a/app/libs/limit_forbid_control/base.rb b/app/libs/limit_forbid_control/base.rb
new file mode 100644
index 000000000..6f11ae5eb
--- /dev/null
+++ b/app/libs/limit_forbid_control/base.rb
@@ -0,0 +1,66 @@
+class LimitForbidControl::Base
+ def initialize
+ end
+
+ def cache_key
+ raise 'Please overwrite method :cache_Key'
+ end
+
+ def forbid_cache_key
+ "#{cache_key}:forbid"
+ end
+
+ def allow_times
+ 5
+ end
+
+ def cumulative_expires
+ 1.days
+ end
+
+ def forbid_expires
+ 1.hours
+ end
+
+ def forbid?
+ Rails.cache.read(forbid_cache_key)
+ end
+
+ def increment!
+ value = Rails.cache.read(cache_key)
+ value = value.to_i + 1
+
+ # 锁定
+ if value >= allow_times.to_i
+ Rails.logger.info("[LimitForbidControl] Lock #{cache_key}")
+ Rails.cache.write(forbid_cache_key, true, expires_in: forbid_expires)
+ Rails.cache.delete(cache_key)
+ else
+ Rails.cache.write(cache_key, value, expires_in: cumulative_expires)
+ end
+ end
+
+ def error_times
+ Rails.cache.read(cache_key).to_i
+ end
+
+ def remain_times
+ allow_times.to_i - error_times
+ end
+
+ def clear
+ Rails.logger.info("[LimitForbidControl] Clear #{cache_key}")
+ Rails.cache.delete(forbid_cache_key)
+ Rails.cache.delete(cache_key)
+ end
+
+ private
+
+ def redis_cache?
+ Rails.cache.is_a?(ActiveSupport::Cache::RedisStore)
+ end
+
+ def day
+ Time.current.strftime('%Y%m%d')
+ end
+end
\ No newline at end of file
diff --git a/app/libs/limit_forbid_control/send_email_code.rb b/app/libs/limit_forbid_control/send_email_code.rb
new file mode 100644
index 000000000..729446e7c
--- /dev/null
+++ b/app/libs/limit_forbid_control/send_email_code.rb
@@ -0,0 +1,25 @@
+class LimitForbidControl::SendEmailCode < LimitForbidControl::Base
+ attr_reader :email
+
+ def initialize(email)
+ super()
+ @email = email
+ end
+
+ def allow_times
+ EduSetting.get('daily_send_email_code_times').presence || 5
+ end
+
+ def forbid_expires
+ num = EduSetting.get('daily_send_email_code_forbid_time').presence.to_i
+ num.zero? ? 10.minutes : num.to_i.hours
+ end
+
+ def cumulative_expires
+ 1.hours
+ end
+
+ def cache_key
+ @_cache_key ||= "limit_forbid_control:#{day}:send_email_code:#{email}"
+ end
+end
\ No newline at end of file
diff --git a/app/libs/limit_forbid_control/user_login.rb b/app/libs/limit_forbid_control/user_login.rb
new file mode 100644
index 000000000..5588e9406
--- /dev/null
+++ b/app/libs/limit_forbid_control/user_login.rb
@@ -0,0 +1,25 @@
+class LimitForbidControl::UserLogin < LimitForbidControl::Base
+ attr_reader :user
+
+ def initialize(user)
+ super()
+ @user = user
+ end
+
+ def allow_times
+ EduSetting.get('daily_error_password_times').presence || 5
+ end
+
+ def forbid_expires
+ num = EduSetting.get('daily_error_password_forbid_time').presence.to_i
+ num.zero? ? 1.hours : num.to_i.minutes
+ end
+
+ def cumulative_expires
+ 1.days
+ end
+
+ def cache_key
+ @_cache_key ||= "limit_forbid_control:#{day}:user_login:#{user.id}"
+ end
+end
\ No newline at end of file
diff --git a/app/views/users/get_navigation_info.json.jbuilder b/app/views/users/get_navigation_info.json.jbuilder
index 0276d2b2d..e69de29bb 100644
--- a/app/views/users/get_navigation_info.json.jbuilder
+++ b/app/views/users/get_navigation_info.json.jbuilder
@@ -1,60 +0,0 @@
-json.top do
- json.shixun_url "/shixuns"
- json.shixun_paths_url "/paths"
- json.course_url "/courses"
- json.competitions_url "#{@old_domain}/competitions"
- json.topic_url "/forums"
- json.new_course_url "/courses/new"
- json.new_shixun_url "/shixuns/new"
- json.new_shixun_path_url "/paths/new"
- json.new_project_url "#{@old_domain}/projects/new"
- json.join_course_url "/courses/join_course_multi_role"
- json.join_project_url "#{@old_domain}/applied_project/applied_project_info"
- json.message_url "#{@user_url}/user_tidings"
- json.new_message @new_message
-
- json.moop_cases_url "#{@old_domain}/moop_cases"
- json.crowdsourcing_url "/crowdsourcing"
-
- # 客户管理
- json.customer_management_url current_user.partner_managers.exists? ? "/partners/#{current_user.partner_managers.first.partner_id}/customers" : nil
-
- json.career_url do
- json.array! @career.to_a do |c|
- if c[1].present?
- json.name c[1]
- json.url "#{@old_domain}/careers/#{c[0]}/introduction"
- end
- end
- end
- json.auth @auth
-
- json.avatar_url "#{@user_url}"
- json.my_course_url "#{@user_url}"
- json.my_shixun_url "#{@user_url}?type=a_shixun"
- json.my_shixun_paths_url "#{@user_url}?type=a_path"
- json.my_project_url "#{@user_url}?type=a_project"
- json.account_manager_url "#{@old_domain}/my/account"
- json.logout_url logout_accounts_path
- json.college_identifier @user.college_identifier
- # 旧版的域名
- json.old_url @old_domain
-
- # 云上实验室管理权限
- laboratory_user = current_laboratory.laboratory_users.exists?(user_id: @user&.id) || @user&.admin_or_business?
- json.laboratory_user laboratory_user
- json.laboratory_admin_url laboratory_user ? "/cooperative" : nil
- json.laboratory_user @user&.admin_or_business? || current_laboratory&.laboratory_users.exists?(user_id: @user&.id)
-end
-
-json.down do
- json.web_root "#{@old_domain}"
- json.about_us "#{@old_domain}/help?index=1"
- json.connect_us "#{@old_domain}/help?index=2"
- json.cooperation_partner "#{@old_domain}/help?index=3"
- json.service_agreement "#{@old_domain}/help?index=4"
- json.help_center "#{@old_domain}/help?index=5"
- json.feedback "#{@old_domain}/help?index=6"
-end
-
-json.online_consult "https://shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd"
diff --git a/app/views/users/get_user_info.json.jbuilder b/app/views/users/get_user_info.json.jbuilder
index eeb66f6eb..a270297bd 100644
--- a/app/views/users/get_user_info.json.jbuilder
+++ b/app/views/users/get_user_info.json.jbuilder
@@ -13,20 +13,3 @@ json.phone @user.phone
json.email @user.mail
json.profile_completed @user.profile_completed?
json.professional_certification @user.professional_certification
-json.main_site current_laboratory.main_site?
-json.is_shixun_marker current_user.is_shixun_marker? || current_user.admin_or_business?
-if @course
- json.course_identity @course_identity
- json.course_name @course.name
- json.course_public @course.is_public
- json.course_excellent @course.excellent
- if params[:group_info]
- json.group_info @course.teacher_group(@user.id) if @course_identity < Course::STUDENT
- end
- json.first_category_url module_url(@course.none_hidden_course_modules.first, @course)
- json.course_is_end @course.is_end
-end
-
-if params[:school]
- json.user_school @user.school_name
-end
diff --git a/db/structure.sql b/db/structure.sql
index e2230119a..9ad78c029 100644
--- a/db/structure.sql
+++ b/db/structure.sql
@@ -33,7 +33,7 @@ CREATE TABLE `api_keys` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for applied_contests
@@ -50,7 +50,7 @@ CREATE TABLE `applied_contests` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for applied_messages
@@ -70,7 +70,7 @@ CREATE TABLE `applied_messages` (
`role` int(11) DEFAULT NULL,
`project_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=6190 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for applied_projects
@@ -83,7 +83,7 @@ CREATE TABLE `applied_projects` (
`role` int(11) DEFAULT '0',
`status` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=859 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for apply_actions
@@ -105,7 +105,7 @@ CREATE TABLE `apply_actions` (
`reject_description` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `index_apply_actions_on_user_id` (`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=11521 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for apply_add_departments
@@ -125,7 +125,7 @@ CREATE TABLE `apply_add_departments` (
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=733 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
@@ -141,7 +141,7 @@ CREATE TABLE `apply_project_masters` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for apply_resources
@@ -159,7 +159,7 @@ CREATE TABLE `apply_resources` (
`content` text,
`apply_user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for apply_user_authentications
@@ -178,7 +178,7 @@ CREATE TABLE `apply_user_authentications` (
`is_delete` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `index_apply_user_authentications_on_user_id` (`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=1258 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for ar_internal_metadata
@@ -209,7 +209,7 @@ CREATE TABLE `attachment_group_settings` (
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=80 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for attachment_histories
@@ -239,7 +239,7 @@ CREATE TABLE `attachment_histories` (
`publish_time` date DEFAULT NULL,
`cloud_url` varchar(255) DEFAULT '',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=351 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for attachments
@@ -277,7 +277,7 @@ CREATE TABLE `attachments` (
KEY `index_attachments_on_course_second_category_id` (`course_second_category_id`),
KEY `index_attachments_on_quotes` (`quotes`),
KEY `index_attachments_on_is_public` (`is_public`)
-) ENGINE=InnoDB AUTO_INCREMENT=206590 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for attachmentstypes
@@ -288,7 +288,7 @@ CREATE TABLE `attachmentstypes` (
`typeId` int(11) NOT NULL,
`typeName` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for auth_sources
@@ -335,7 +335,7 @@ CREATE TABLE `authentications_users` (
`user_id` int(11) DEFAULT NULL,
`authentication_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=1959 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for bidding_users
@@ -367,7 +367,7 @@ CREATE TABLE `biding_projects` (
`updated_at` datetime NOT NULL,
`reward` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=86 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for bids
@@ -393,7 +393,7 @@ CREATE TABLE `bids` (
`evaluation_num` int(11) DEFAULT '3',
`open_anonymous_evaluation` int(11) DEFAULT '1',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=761 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
@@ -411,7 +411,7 @@ CREATE TABLE `code_review_assignments` (
`action_type` varchar(255) DEFAULT NULL,
`changeset_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for code_review_project_settings
@@ -431,7 +431,7 @@ CREATE TABLE `code_review_project_settings` (
`lock_version` int(11) NOT NULL DEFAULT '0',
`tracker_in_review_dialog` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=481 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for code_review_user_settings
@@ -470,7 +470,7 @@ CREATE TABLE `code_reviews` (
`file_count` int(11) NOT NULL DEFAULT '0',
`diff_all` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for code_tests
@@ -487,7 +487,7 @@ CREATE TABLE `code_tests` (
`updated_at` datetime NOT NULL,
`student_work_id` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=759267 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for comments
@@ -507,7 +507,7 @@ CREATE TABLE `comments` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for commit_issues
@@ -521,7 +521,7 @@ CREATE TABLE `commit_issues` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for commits
@@ -605,7 +605,7 @@ CREATE TABLE `coo_imgs` (
`updated_at` datetime NOT NULL,
`position` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=48 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for coop_imgs
@@ -634,7 +634,7 @@ CREATE TABLE `cooperations` (
`updated_at` datetime NOT NULL,
`user_type` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for data_exceptions
@@ -663,7 +663,7 @@ CREATE TABLE `department_members` (
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=4 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for departments
@@ -681,7 +681,7 @@ CREATE TABLE `departments` (
`is_delete` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `index_departments_on_school_id` (`school_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=727 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for diff_record_contents
@@ -729,7 +729,7 @@ CREATE TABLE `documents` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for dts
@@ -769,7 +769,7 @@ CREATE TABLE `editor_of_documents` (
`org_document_comment_id` int(11) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=1663 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for edu_settings
@@ -784,7 +784,7 @@ CREATE TABLE `edu_settings` (
`description` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `index_edu_settings_on_name` (`name`)
-) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for enabled_modules
@@ -797,7 +797,7 @@ CREATE TABLE `enabled_modules` (
`course_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `enabled_modules_project_id` (`project_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=38126 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for enumerations
@@ -816,7 +816,7 @@ CREATE TABLE `enumerations` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for error_checks
@@ -828,7 +828,7 @@ CREATE TABLE `error_checks` (
`login` varchar(255) DEFAULT NULL,
`path` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=864 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for evaluate_records
@@ -858,7 +858,7 @@ CREATE TABLE `evaluate_records` (
PRIMARY KEY (`id`),
UNIQUE KEY `index_evaluate_records_on_identifier` (`identifier`),
KEY `index_evaluate_records_on_game_id` (`game_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=1084209 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for first_pages
@@ -878,7 +878,7 @@ CREATE TABLE `first_pages` (
`show_course` int(11) DEFAULT '1',
`show_contest` int(11) DEFAULT '1',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for gitlab_urls
@@ -892,7 +892,7 @@ CREATE TABLE `gitlab_urls` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=16162 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for groups_users
@@ -917,7 +917,7 @@ CREATE TABLE `homepages` (
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `index_homepages_on_user_id` (`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=23796 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
@@ -932,7 +932,7 @@ CREATE TABLE `invite_lists` (
`updated_at` datetime NOT NULL,
`mail` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=141 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
@@ -949,7 +949,7 @@ CREATE TABLE `issue_relations` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for issue_statuses
@@ -966,7 +966,7 @@ CREATE TABLE `issue_statuses` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for issue_tags
@@ -986,7 +986,7 @@ CREATE TABLE `issue_tags` (
`gitea_url` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `index_issue_tags_on_user_id_and_name_and_project_id` (`user_id`,`name`,`project_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for issue_tags_relates
@@ -1067,7 +1067,7 @@ CREATE TABLE `issues` (
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=11839 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for journal_details
@@ -1082,7 +1082,7 @@ CREATE TABLE `journal_details` (
`value` text,
PRIMARY KEY (`id`),
KEY `journal_details_journal_id` (`journal_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=24527 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for journal_replies
@@ -1117,7 +1117,7 @@ CREATE TABLE `journals` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for journals_for_messages
@@ -1145,7 +1145,7 @@ CREATE TABLE `journals_for_messages` (
PRIMARY KEY (`id`),
KEY `index_journals_for_messages_on_root_id` (`root_id`),
KEY `index_journals_for_messages_on_jour_id` (`jour_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=80534 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for kindeditor_assets
@@ -1162,7 +1162,7 @@ CREATE TABLE `kindeditor_assets` (
`updated_at` datetime NOT NULL,
`owner_type` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=24663 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for mark_downs
@@ -1189,7 +1189,7 @@ CREATE TABLE `member_roles` (
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=66133 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for members
@@ -1210,7 +1210,7 @@ CREATE TABLE `members` (
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=64571 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for mirror_migrate_errors
@@ -1223,7 +1223,7 @@ CREATE TABLE `mirror_migrate_errors` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for mirror_operation_records
@@ -1241,7 +1241,7 @@ CREATE TABLE `mirror_operation_records` (
`old_tag` varchar(255) DEFAULT NULL,
`new_tag` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=529 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for mirror_repositories
@@ -1266,7 +1266,7 @@ CREATE TABLE `mirror_repositories` (
`repertoire_id` int(11) DEFAULT NULL,
`sub_repertoire_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=104 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for mirror_repository_types
@@ -1296,7 +1296,7 @@ CREATE TABLE `mirror_scripts` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for mirror_types
@@ -1377,7 +1377,7 @@ CREATE TABLE `notificationcomments` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for oauth_configs
@@ -1392,7 +1392,7 @@ CREATE TABLE `oauth_configs` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for oauths
@@ -1428,7 +1428,7 @@ CREATE TABLE `onclick_times` (
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `index_onclick_times_on_user_id` (`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=29038 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for open_id_authentication_associations
@@ -1474,7 +1474,7 @@ CREATE TABLE `open_source_projects` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=488570 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for open_users
@@ -1542,7 +1542,7 @@ CREATE TABLE `option_numbers` (
`updated_at` datetime NOT NULL,
`project_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=22601 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for org_activities
@@ -1558,7 +1558,7 @@ CREATE TABLE `org_activities` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=58541 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for org_courses
@@ -1570,7 +1570,7 @@ CREATE TABLE `org_courses` (
`course_id` int(11) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=98 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for org_document_comments
@@ -1593,7 +1593,7 @@ CREATE TABLE `org_document_comments` (
`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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for org_member_roles
@@ -1604,7 +1604,7 @@ CREATE TABLE `org_member_roles` (
`org_member_id` int(11) DEFAULT NULL,
`role_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=634 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for org_members
@@ -1617,7 +1617,7 @@ CREATE TABLE `org_members` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=637 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for org_messages
@@ -1636,7 +1636,7 @@ CREATE TABLE `org_messages` (
`updated_at` datetime NOT NULL,
`status` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=233 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for org_projects
@@ -1648,7 +1648,7 @@ CREATE TABLE `org_projects` (
`project_id` int(11) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=138 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for org_subfield_messages
@@ -1679,7 +1679,7 @@ CREATE TABLE `org_subfields` (
`hide` int(11) DEFAULT '0',
`status` int(11) DEFAULT '1',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=717 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for organizations
@@ -1699,7 +1699,7 @@ CREATE TABLE `organizations` (
`show_mode` int(11) DEFAULT '0',
`allow_teacher` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=150 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for outputs
@@ -1724,7 +1724,7 @@ CREATE TABLE `outputs` (
KEY `game` (`game_id`,`query_index`),
KEY `index_outputs_on_test_set_position` (`test_set_position`),
KEY `index_outputs_on_created_at` (`created_at`)
-) ENGINE=InnoDB AUTO_INCREMENT=3983977 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for phone_app_versions
@@ -1737,7 +1737,7 @@ CREATE TABLE `phone_app_versions` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for platform_samples
@@ -1750,7 +1750,7 @@ CREATE TABLE `platform_samples` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for praise_tread_caches
@@ -1765,7 +1765,7 @@ CREATE TABLE `praise_tread_caches` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=9872 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for praise_treads
@@ -1781,7 +1781,7 @@ CREATE TABLE `praise_treads` (
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `praise_tread` (`praise_tread_object_id`,`praise_tread_object_type`)
-) ENGINE=InnoDB AUTO_INCREMENT=31568 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for principal_activities
@@ -1796,7 +1796,7 @@ CREATE TABLE `principal_activities` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=69584 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for private_messages
@@ -1815,7 +1815,7 @@ CREATE TABLE `private_messages` (
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `index_private_messages_on_user_id` (`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=157 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for professional_levels
@@ -1841,7 +1841,7 @@ CREATE TABLE `project_infos` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=4926 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
@@ -1869,7 +1869,7 @@ CREATE TABLE `project_package_categories` (
`name` varchar(255) DEFAULT NULL,
`position` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for project_packages
@@ -1919,7 +1919,7 @@ CREATE TABLE `project_scores` (
`commit_time` datetime DEFAULT NULL,
`pull_request_num` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=3094 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for project_statuses
@@ -1935,7 +1935,7 @@ CREATE TABLE `project_statuses` (
`course_ac_para` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `index_project_statuses_on_grade` (`grade`)
-) ENGINE=InnoDB AUTO_INCREMENT=3135 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for projecting_softapplictions
@@ -2000,7 +2000,7 @@ CREATE TABLE `projects` (
PRIMARY KEY (`id`),
KEY `index_projects_on_lft` (`lft`),
KEY `index_projects_on_rgt` (`rgt`)
-) ENGINE=InnoDB AUTO_INCREMENT=3305 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for projects_trackers
@@ -2062,7 +2062,7 @@ CREATE TABLE `pull_requests` (
`base` varchar(255) DEFAULT NULL,
`issue_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=312 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for quality_analyses
@@ -2081,7 +2081,7 @@ CREATE TABLE `quality_analyses` (
`language` varchar(255) DEFAULT NULL,
`sonar_name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=237 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for queries
@@ -2135,7 +2135,7 @@ CREATE TABLE `rep_statics` (
`updated_at` datetime NOT NULL,
`changeset` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=1475 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for repertoires
@@ -2147,7 +2147,7 @@ CREATE TABLE `repertoires` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for repositories
@@ -2175,7 +2175,7 @@ CREATE TABLE `repositories` (
KEY `index_repositories_on_project_id` (`project_id`),
KEY `index_repositories_on_identifier` (`identifier`),
KEY `index_repositories_on_user_id` (`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=75110 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for resource_banks
@@ -2206,7 +2206,7 @@ CREATE TABLE `resource_banks` (
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=8801 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for roles
@@ -2221,7 +2221,7 @@ CREATE TABLE `roles` (
`permissions` text,
`issues_visibility` varchar(30) NOT NULL DEFAULT 'default',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for run_code_messages
@@ -2258,7 +2258,7 @@ CREATE TABLE `settings` (
`updated_on` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `index_settings_on_name` (`name`)
-) ENGINE=InnoDB AUTO_INCREMENT=78 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for shares
@@ -2276,7 +2276,7 @@ CREATE TABLE `shares` (
`user_id` int(11) DEFAULT NULL,
`description` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for shield_activities
@@ -2291,7 +2291,7 @@ CREATE TABLE `shield_activities` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=153 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for shield_wechat_messages
@@ -2306,7 +2306,7 @@ CREATE TABLE `shield_wechat_messages` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for softapplications
@@ -2330,7 +2330,7 @@ CREATE TABLE `softapplications` (
`deposit_project` varchar(255) DEFAULT NULL,
`project_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for sonar_errors
@@ -2344,7 +2344,7 @@ CREATE TABLE `sonar_errors` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for ssos
@@ -2363,7 +2363,7 @@ CREATE TABLE `ssos` (
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `index_ssos_on_user_id` (`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=89 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for subject_members
@@ -2380,7 +2380,7 @@ CREATE TABLE `subject_members` (
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=95 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for subject_records
@@ -2438,7 +2438,7 @@ CREATE TABLE `subjects` (
KEY `index_subjects_on_course_list_id` (`course_list_id`),
KEY `index_subjects_on_major_id` (`major_id`),
KEY `index_subjects_on_subject_level_system_id` (`subject_level_system_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=78 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for system_messages
@@ -2453,7 +2453,7 @@ CREATE TABLE `system_messages` (
`description` text,
`subject` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for system_update_notices
@@ -2517,7 +2517,7 @@ CREATE TABLE `tag_repertoires` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=166 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for taggings
@@ -2542,7 +2542,7 @@ CREATE TABLE `taggings` (
KEY `index_taggings_on_context` (`context`),
KEY `index_taggings_on_tagger_id_and_tagger_type` (`tagger_id`,`tagger_type`),
KEY `taggings_idy` (`taggable_id`,`taggable_type`,`tagger_id`,`context`)
-) ENGINE=InnoDB AUTO_INCREMENT=907234 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for tags
@@ -2553,7 +2553,7 @@ CREATE TABLE `tags` (
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
`taggings_count` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=135640 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for teacher_course_groups
@@ -2592,7 +2592,7 @@ CREATE TABLE `team_members` (
KEY `index_team_members_on_competition_team_id` (`competition_team_id`),
KEY `index_team_members_on_user_id` (`user_id`),
KEY `index_team_members_on_competition_id` (`competition_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for tidings
@@ -2618,7 +2618,7 @@ CREATE TABLE `tidings` (
PRIMARY KEY (`id`),
KEY `index_tidings_on_user_id` (`user_id`),
KEY `index_tidings_on_container_id` (`container_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=115117 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for time_entries
@@ -2644,7 +2644,7 @@ CREATE TABLE `time_entries` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for tokens
@@ -2659,7 +2659,7 @@ CREATE TABLE `tokens` (
PRIMARY KEY (`id`),
UNIQUE KEY `tokens_value` (`value`),
KEY `index_tokens_on_user_id` (`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=116541 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for trackers
@@ -2673,7 +2673,7 @@ CREATE TABLE `trackers` (
`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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for trustie_hackathons
@@ -2721,7 +2721,7 @@ CREATE TABLE `user_actions` (
`ip` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `index_user_actions_on_ip` (`ip`)
-) ENGINE=InnoDB AUTO_INCREMENT=1257592 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_activities
@@ -2738,7 +2738,7 @@ CREATE TABLE `user_activities` (
`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=137953 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_agents
@@ -2769,7 +2769,7 @@ CREATE TABLE `user_day_certifications` (
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `index_user_day_certifications_on_user_id` (`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=315 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_extensions
@@ -2800,7 +2800,7 @@ CREATE TABLE `user_extensions` (
KEY `index_user_extensions_on_user_id` (`user_id`),
KEY `index_user_extensions_on_department_id` (`department_id`),
KEY `index_user_extensions_on_school_id_and_user_id` (`school_id`,`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=36009 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_feedback_messages
@@ -2817,7 +2817,7 @@ CREATE TABLE `user_feedback_messages` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_grades
@@ -2834,7 +2834,7 @@ CREATE TABLE `user_grades` (
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=7672 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_hidden_modules
@@ -2848,7 +2848,7 @@ CREATE TABLE `user_hidden_modules` (
`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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_interests
@@ -2872,7 +2872,7 @@ CREATE TABLE `user_levels` (
`user_id` int(11) DEFAULT NULL,
`level` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=6329 DEFAULT CHARSET=latin1;
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Table structure for user_preferences
@@ -2886,7 +2886,7 @@ CREATE TABLE `user_preferences` (
`time_zone` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `index_user_preferences_on_user_id` (`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=34275 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_score_details
@@ -2908,7 +2908,7 @@ CREATE TABLE `user_score_details` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=55089 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_scores
@@ -2924,7 +2924,7 @@ CREATE TABLE `user_scores` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=10128 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_searches
@@ -2939,7 +2939,7 @@ CREATE TABLE `user_searches` (
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `index_user_searches_on_user_id` (`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=1283 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_sources
@@ -2974,7 +2974,7 @@ CREATE TABLE `user_statuses` (
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=35184 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_system_notices
@@ -2988,7 +2988,7 @@ CREATE TABLE `user_system_notices` (
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `index_user_system_notices_on_user_id` (`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=1211 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_wechats
@@ -3014,7 +3014,7 @@ CREATE TABLE `user_wechats` (
`updated_at` datetime NOT NULL,
`bindtype` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=2424 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for users
@@ -3069,7 +3069,7 @@ CREATE TABLE `users` (
KEY `index_users_on_laboratory_id` (`laboratory_id`),
KEY `index_users_on_login` (`login`),
KEY `index_users_on_mail` (`mail`)
-) ENGINE=InnoDB AUTO_INCREMENT=36408 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for users_authentications
@@ -3098,7 +3098,7 @@ CREATE TABLE `verification_codes` (
PRIMARY KEY (`id`),
KEY `by_phone` (`phone`),
KEY `by_email` (`email`)
-) ENGINE=InnoDB AUTO_INCREMENT=27763 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for version_releases
@@ -3146,7 +3146,7 @@ CREATE TABLE `versions` (
PRIMARY KEY (`id`),
KEY `versions_project_id` (`project_id`),
KEY `index_versions_on_sharing` (`sharing`)
-) ENGINE=InnoDB AUTO_INCREMENT=456 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for visitors
@@ -3162,7 +3162,7 @@ CREATE TABLE `visitors` (
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=61456 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for watchers
@@ -3177,7 +3177,7 @@ CREATE TABLE `watchers` (
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=36653 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for weapp_settings
@@ -3206,7 +3206,7 @@ CREATE TABLE `web_footer_companies` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for web_footer_oranizers
@@ -3219,7 +3219,7 @@ CREATE TABLE `web_footer_oranizers` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for websshes
@@ -3248,7 +3248,7 @@ CREATE TABLE `wechat_logs` (
`created_at` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `index_wechat_logs_on_openid` (`openid`)
-) ENGINE=InnoDB AUTO_INCREMENT=119051 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for wiki_content_versions
@@ -3267,7 +3267,7 @@ CREATE TABLE `wiki_content_versions` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for wiki_contents
@@ -3284,7 +3284,7 @@ CREATE TABLE `wiki_contents` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for wiki_pages
@@ -3301,7 +3301,7 @@ CREATE TABLE `wiki_pages` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for wiki_redirects
@@ -3316,7 +3316,7 @@ CREATE TABLE `wiki_redirects` (
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;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for wikis
@@ -3329,7 +3329,7 @@ CREATE TABLE `wikis` (
`status` int(11) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
KEY `wikis_project_id` (`project_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=2825 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for project_categories
@@ -3345,7 +3345,7 @@ CREATE TABLE `project_categories` (
`ancestry` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `index_project_categories_on_ancestry` (`ancestry`)
-) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for zip_packs
@@ -3366,7 +3366,7 @@ CREATE TABLE `zip_packs` (
`container_type` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `index_zip_packs_on_container_id_and_container_type` (`container_id`,`container_type`)
-) ENGINE=InnoDB AUTO_INCREMENT=25831 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for laboratories
@@ -3384,7 +3384,7 @@ CREATE TABLE `laboratories` (
PRIMARY KEY (`id`),
UNIQUE KEY `index_laboratories_on_identifier` (`identifier`),
KEY `index_laboratories_on_school_id` (`school_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for laboratory_settings
@@ -3396,7 +3396,7 @@ CREATE TABLE `laboratory_settings` (
`config` text,
PRIMARY KEY (`id`),
KEY `index_laboratory_settings_on_laboratory_id` (`laboratory_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for laboratory_users
diff --git a/public/react/build/asset-manifest.json b/public/react/build/asset-manifest.json
index 55553b4c4..1c85d47af 100644
--- a/public/react/build/asset-manifest.json
+++ b/public/react/build/asset-manifest.json
@@ -75,7 +75,7 @@
"./static/js/164.c4629f51.chunk.js": "./static/js/164.c4629f51.chunk.js",
"./static/js/165.218a5560.chunk.js": "./static/js/165.218a5560.chunk.js",
"./static/js/166.68f61142.chunk.js": "./static/js/166.68f61142.chunk.js",
- "./static/js/167.f5226e09.chunk.js": "./static/js/167.f5226e09.chunk.js",
+ "./static/js/167.a69d09f0.chunk.js": "./static/js/167.a69d09f0.chunk.js",
"./static/js/168.bc78cd9b.chunk.js": "./static/js/168.bc78cd9b.chunk.js",
"./static/js/169.76cc22e9.chunk.js": "./static/js/169.76cc22e9.chunk.js",
"./static/js/17.a4471a8c.chunk.js": "./static/js/17.a4471a8c.chunk.js",
@@ -282,7 +282,7 @@
"./static/js/98.4c2c8b49.chunk.js": "./static/js/98.4c2c8b49.chunk.js",
"./static/js/99.4ecedbde.chunk.js": "./static/js/99.4ecedbde.chunk.js",
"main.css": "./static/css/main.fd229636.css",
- "main.js": "./static/js/main.62f0e757.js",
+ "main.js": "./static/js/main.d88d0e13.js",
"static/media/KaTeX_AMS-Regular.ttf": "static/media/KaTeX_AMS-Regular.aaf4eee9.ttf",
"static/media/KaTeX_AMS-Regular.woff": "static/media/KaTeX_AMS-Regular.7f06b4e3.woff",
"static/media/KaTeX_AMS-Regular.woff2": "static/media/KaTeX_AMS-Regular.e78e28b4.woff2",
diff --git a/public/react/build/index.html b/public/react/build/index.html
index 903fbd13b..23418366c 100644
--- a/public/react/build/index.html
+++ b/public/react/build/index.html
@@ -24,7 +24,7 @@
_host = 'https://ali-cdn.educoder.net/react/build/'
}
document.write('