debian-mirror-gitlab/db/post_migrate/20220516100652_drop_compliance_management_frameworks_regulated.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
303 B
Ruby
Raw Normal View History

2022-07-23 23:45:48 +05:30
# 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