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

20220516100652_drop_compliance_management_frameworks_regulated.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f9d3405d486df5f8b99445b8d7aa26f927215345 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class DropComplianceManagementFrameworksRegulated < Gitlab::Database::Migration[2.0]
  def up
    remove_column :compliance_management_frameworks, :regulated
  end

  def down
    add_column :compliance_management_frameworks, :regulated, :boolean, default: true
  end
end