Commit c3d0a0b3 authored by Craig Smith's avatar Craig Smith

Remove scanned resources column from security scan

parent edd40f31
---
title: Remove scanned_resources_count column from security scan
merge_request: 46108
author:
type: changed
# frozen_string_literal: true
class RemoveScannedResourcesCountFromSecurityScans < ActiveRecord::Migration[6.0]
DOWNTIME = false
def up
remove_column :security_scans, :scanned_resources_count
end
def down
add_column :security_scans, :scanned_resources_count, :integer
end
end
bb20b72c7fa65735f37d896cc098d27edd4cc07c3083fdb567e4b421309703a7
\ No newline at end of file
...@@ -15954,8 +15954,7 @@ CREATE TABLE security_scans ( ...@@ -15954,8 +15954,7 @@ CREATE TABLE security_scans (
created_at timestamp with time zone NOT NULL, created_at timestamp with time zone NOT NULL,
updated_at timestamp with time zone NOT NULL, updated_at timestamp with time zone NOT NULL,
build_id bigint NOT NULL, build_id bigint NOT NULL,
scan_type smallint NOT NULL, scan_type smallint NOT NULL
scanned_resources_count integer
); );
CREATE SEQUENCE security_scans_id_seq CREATE SEQUENCE security_scans_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