Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-15 15:07:58 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-15 15:07:58 +0300
commitf26f31d2fd8e3c91677e2629293b9e0562c1437a (patch)
tree5a689004863bee4374c16920663221ea81afe664 /lib/gitlab/database.rb
parent50e177d19bdeeb0fcc7b129b9c30841454df240b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/database.rb')
-rw-r--r--lib/gitlab/database.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/database.rb b/lib/gitlab/database.rb
index 2a4976de335..756d0afa7e4 100644
--- a/lib/gitlab/database.rb
+++ b/lib/gitlab/database.rb
@@ -49,6 +49,8 @@ module Gitlab
PRIMARY_DATABASE_NAME = ActiveRecord::Base.connection_db_config.name.to_sym # rubocop:disable Database/MultipleDatabases
+ FULLY_QUALIFIED_IDENTIFIER = /^\w+\.\w+$/
+
def self.database_base_models
@database_base_models ||= {
# Note that we use ActiveRecord::Base here and not ApplicationRecord.