Commit cc442d0d authored by Steven Van der Jeugt's avatar Steven Van der Jeugt

Remove null constraint from security_scan_succeeded column

Changelog: changed
parent d77932f3
# frozen_string_literal: true
class RemoveNotNullConstraintForSecurityScanSucceeded < Gitlab::Database::Migration[1.0]
def up
change_column_null :analytics_devops_adoption_snapshots, :security_scan_succeeded, true
end
def down
# There may now be nulls in the table, so we cannot re-add the constraint here.
end
end
c528d64cafc072554cd1ef1006a1c359a3135896abae2d5ca20fbbc99ff14f8c
\ No newline at end of file
......@@ -10191,7 +10191,7 @@ CREATE TABLE analytics_devops_adoption_snapshots (
runner_configured boolean NOT NULL,
pipeline_succeeded boolean NOT NULL,
deploy_succeeded boolean NOT NULL,
security_scan_succeeded boolean NOT NULL,
security_scan_succeeded boolean,
end_time timestamp with time zone NOT NULL,
total_projects_count integer,
code_owners_used_count integer,
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment