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

20210113224909_add_pipeline_configuration_full_path_to_compliance_pipeline.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 408d057903160825e4594a7aa116a5baf85a19b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

class AddPipelineConfigurationFullPathToCompliancePipeline < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  # rubocop:disable Migration/AddLimitToTextColumns
  # limit is added in 20210119162812_add_text_limit_to_compliance_pipeline_configuration_full_path.rb
  def up
    add_column :compliance_management_frameworks, :pipeline_configuration_full_path, :text
  end
  # rubocop:enable Migration/AddLimitToTextColumns

  def down
    remove_column :compliance_management_frameworks, :pipeline_configuration_full_path
  end
end