Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20220726154016_make_component_version_nullable.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8619b9dad120189d37ae17492e057fa83bdc5e79 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class MakeComponentVersionNullable < Gitlab::Database::Migration[2.0]
  enable_lock_retries!

  def change
    change_column_null :sbom_occurrences, :component_version_id, true
  end
end