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-12-18 09:17:51 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-12-18 09:17:51 +0300
commitf5eac201c2b887d75800674ad5663d1cda8cbeb9 (patch)
treeea28133fdc3fd97abb7dbc7afda2cddc50a242c2 /lib/gitlab/database/dictionary.rb
parent77c803f52899ccc450c183a959913ea89d85de88 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/database/dictionary.rb')
-rw-r--r--lib/gitlab/database/dictionary.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/gitlab/database/dictionary.rb b/lib/gitlab/database/dictionary.rb
index e77647681e8..4ef392a4e44 100644
--- a/lib/gitlab/database/dictionary.rb
+++ b/lib/gitlab/database/dictionary.rb
@@ -61,6 +61,14 @@ module Gitlab
data['sharding_key']
end
+ def desired_sharding_key
+ data['desired_sharding_key']
+ end
+
+ def classes
+ data['classes']
+ end
+
def schema?(schema_name)
gitlab_schema == schema_name.to_s
end