diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-25 09:09:05 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-25 09:09:05 +0000 |
commit | 012ed4e4f69ab58f9d9b58140865a734fa5a9c88 (patch) | |
tree | 5ffb4f87d8b495a89662f0e5218c9dd3f4ae0f38 /lib/tasks/gitlab/db | |
parent | 5b9a8005eaf815a0cae80a8482ff3f272d33e042 (diff) | |
download | gitlab-ce-012ed4e4f69ab58f9d9b58140865a734fa5a9c88.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/tasks/gitlab/db')
-rw-r--r-- | lib/tasks/gitlab/db/lock_writes.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/db/lock_writes.rake b/lib/tasks/gitlab/db/lock_writes.rake index 3a083036781..fad949eb718 100644 --- a/lib/tasks/gitlab/db/lock_writes.rake +++ b/lib/tasks/gitlab/db/lock_writes.rake @@ -6,7 +6,7 @@ namespace :gitlab do desc "GitLab | DB | Install prevent write triggers on all databases" task lock_writes: [:environment, 'gitlab:db:validate_config'] do - Gitlab::Database::EachDatabase.each_database_connection do |connection, database_name| + Gitlab::Database::EachDatabase.each_database_connection(include_shared: false) do |connection, database_name| create_write_trigger_function(connection) schemas_for_connection = Gitlab::Database.gitlab_schemas_for_connection(connection) |