Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c3d0a0b3
Commit
c3d0a0b3
authored
Oct 26, 2020
by
Craig Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove scanned resources column from security scan
parent
edd40f31
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
2 deletions
+20
-2
changelogs/unreleased/remove_scanned_resources_count_from_security_scan_229773.yml
...ove_scanned_resources_count_from_security_scan_229773.yml
+5
-0
db/post_migrate/20201026051643_remove_scanned_resources_count_from_security_scans.rb
...643_remove_scanned_resources_count_from_security_scans.rb
+13
-0
db/schema_migrations/20201026051643
db/schema_migrations/20201026051643
+1
-0
db/structure.sql
db/structure.sql
+1
-2
No files found.
changelogs/unreleased/remove_scanned_resources_count_from_security_scan_229773.yml
0 → 100644
View file @
c3d0a0b3
---
title
:
Remove scanned_resources_count column from security scan
merge_request
:
46108
author
:
type
:
changed
db/post_migrate/20201026051643_remove_scanned_resources_count_from_security_scans.rb
0 → 100644
View file @
c3d0a0b3
# 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
db/schema_migrations/20201026051643
0 → 100644
View file @
c3d0a0b3
bb20b72c7fa65735f37d896cc098d27edd4cc07c3083fdb567e4b421309703a7
\ No newline at end of file
db/structure.sql
View file @
c3d0a0b3
...
...
@@ -15954,8 +15954,7 @@ CREATE TABLE security_scans (
created_at
timestamp
with
time
zone
NOT
NULL
,
updated_at
timestamp
with
time
zone
NOT
NULL
,
build_id
bigint
NOT
NULL
,
scan_type
smallint
NOT
NULL
,
scanned_resources_count
integer
scan_type
smallint
NOT
NULL
);
CREATE
SEQUENCE
security_scans_id_seq
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment