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>2024-01-16 15:08:54 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2024-01-16 15:08:54 +0300
commit218585fc850159e0cf7fa4b609f0837cb5f29599 (patch)
treeb4210dff575984a1a5f7aa6328355dc499c62b93 /app/models
parent65d9a877b3487bdcb75985dbcbe8bcf76280591f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-rw-r--r--app/models/ci/catalog/resource.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/ci/catalog/resource.rb b/app/models/ci/catalog/resource.rb
index d1b3a3a4d8a..a1c03d3883f 100644
--- a/app/models/ci/catalog/resource.rb
+++ b/app/models/ci/catalog/resource.rb
@@ -21,6 +21,8 @@ module Ci
has_many :sync_events, class_name: 'Ci::Catalog::Resources::SyncEvent', foreign_key: :catalog_resource_id,
inverse_of: :catalog_resource
+ enum verification_level: { unverified: 0, gitlab: 1 }
+
scope :for_projects, ->(project_ids) { where(project_id: project_ids) }
# The `search_vector` column contains a tsvector that has a greater weight on `name` than `description`.