diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-25 06:06:16 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-25 06:06:16 +0000 |
commit | fbcb36880cda3a29cfa4ebed4d080701c302256b (patch) | |
tree | 7ef2430b3234f3ee30c45f7f9d05bf0e83aa5d19 /db | |
parent | 7bb7a8d529fd1155a35a2e9e9cdddd7953f3776d (diff) | |
download | gitlab-ce-fbcb36880cda3a29cfa4ebed4d080701c302256b.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20190909141517_update_cs_vulnerability_confidence_column.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/post_migrate/20190909141517_update_cs_vulnerability_confidence_column.rb b/db/post_migrate/20190909141517_update_cs_vulnerability_confidence_column.rb index 20f5e7ae0dc..befa08e0cb6 100644 --- a/db/post_migrate/20190909141517_update_cs_vulnerability_confidence_column.rb +++ b/db/post_migrate/20190909141517_update_cs_vulnerability_confidence_column.rb @@ -14,6 +14,9 @@ class UpdateCsVulnerabilityConfidenceColumn < ActiveRecord::Migration[5.2] # 137_424 records to be updated on GitLab.com, # giving us an estimated runtime of 12 hours. def up + # no-op in CE + return unless Gitlab.ee? + migration = Gitlab::BackgroundMigration::UpdateVulnerabilityConfidence migration_name = migration.to_s.demodulize relation = migration::Occurrence.container_scanning_reports_with_medium_confidence |