Commit 3b79f3cb authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch '227114_add_resolved_on_default_branch_column_into_vulnerabilities' into 'master'

Add `resolved_on_default_branch` column into `vulnerabilities` table

See merge request gitlab-org/gitlab!38638
parents 55523307 adae0ad7
---
title: Add `resolved_on_default_branch` column into `vulnerabilities` table
merge_request: 38638
author:
type: added
# frozen_string_literal: true
class AddResolvedOnDefaultBranchIntoVulnerabilitiesTable < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
change_table :vulnerabilities do |t|
t.boolean :resolved_on_default_branch, default: false, null: false
end
end
end
21c35b7712ed1933537115a74571904c74b3d61b424b9f954c3ad36e0d1bf139
\ No newline at end of file
......@@ -16191,7 +16191,8 @@ CREATE TABLE public.vulnerabilities (
confirmed_by_id bigint,
confirmed_at timestamp with time zone,
dismissed_at timestamp with time zone,
dismissed_by_id bigint
dismissed_by_id bigint,
resolved_on_default_branch boolean DEFAULT false NOT NULL
);
CREATE SEQUENCE public.vulnerabilities_id_seq
......
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