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>2021-08-13 12:09:58 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-13 12:09:58 +0300
commitda12067d6bb2603f40d2de107df70e2ff03630e8 (patch)
tree7d5fcdce8e53a4f491d9a6a81826ffef3589cf83 /lib/gitlab/database.rb
parente9626c2383e1bbf325a302bb840891c3c7b8cb07 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/database.rb')
-rw-r--r--lib/gitlab/database.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gitlab/database.rb b/lib/gitlab/database.rb
index 321890722b5..acad19e096c 100644
--- a/lib/gitlab/database.rb
+++ b/lib/gitlab/database.rb
@@ -147,6 +147,11 @@ module Gitlab
# spec/support/database/prevent_cross_joins.rb
end
+ def self.allow_cross_database_modification_within_transaction(url:)
+ # this method is implemented in:
+ # spec/support/database/cross_database_modification_check.rb
+ end
+
def self.add_post_migrate_path_to_rails(force: false)
return if ENV['SKIP_POST_DEPLOYMENT_MIGRATIONS'] && !force