Skip to content
Snippets Groups Projects
Commit fbb64992 authored by Adam Hegyi's avatar Adam Hegyi :coffee:
Browse files

Merge branch 'mw/remove-compliance_management_frameworks-regulated-column' into 'master'

Drop compliance frameworks regulated column

See merge request gitlab-org/gitlab!87657
parents 227924c3 8a716a1c
No related branches found
No related tags found
No related merge requests found
# 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
ee255f9340fe64793636217a5115c368e0bd067cba057bb58aa78f370efae423
\ No newline at end of file
Loading
Loading
@@ -13777,7 +13777,6 @@ CREATE TABLE compliance_management_frameworks (
description text NOT NULL,
color text NOT NULL,
namespace_id integer NOT NULL,
regulated boolean DEFAULT true NOT NULL,
pipeline_configuration_full_path text,
CONSTRAINT check_08cd34b2c2 CHECK ((char_length(color) <= 10)),
CONSTRAINT check_1617e0b87e CHECK ((char_length(description) <= 255)),
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment