Commit adae0ad7 authored by Mehmet Emin INAC's avatar Mehmet Emin INAC Committed by Mayra Cabrera

Add `resolved_on_default_branch` column into `vulnerabilities` table

parent 71ff79df
---
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
......@@ -16165,7 +16165,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