gitlab-org--gitlab-foss/db/post_migrate/20220516100652_drop_complia...

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

# 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