Commit 9eaf640b authored by Patrick Bair's avatar Patrick Bair

Merge branch 'remove_scanned_resources_count_from_security_scan_229773' into 'master'

Remove scanned_resources_count from security scan

See merge request gitlab-org/gitlab!46108
parents e95c549c c3d0a0b3
---
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
...@@ -15958,8 +15958,7 @@ CREATE TABLE security_scans ( ...@@ -15958,8 +15958,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