summaryrefslogtreecommitdiff
path: root/app/models/concerns/sha256_attribute.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/sha256_attribute.rb')
-rw-r--r--app/models/concerns/sha256_attribute.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/sha256_attribute.rb b/app/models/concerns/sha256_attribute.rb
index 4921f7f1a7e..17fda6c806c 100644
--- a/app/models/concerns/sha256_attribute.rb
+++ b/app/models/concerns/sha256_attribute.rb
@@ -39,7 +39,7 @@ module Sha256Attribute
end
def database_exists?
- Gitlab::Database.exists?
+ Gitlab::Database.main.exists?
end
end
end