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
14ca0064
Commit
14ca0064
authored
Sep 14, 2020
by
Mehmet Emin INAC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add deduplicated column into security_findings table
parent
cdd95537
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
db/migrate/20200914155135_add_deduplicated_flag_into_security_findings_table.rb
...135_add_deduplicated_flag_into_security_findings_table.rb
+9
-0
db/schema_migrations/20200914155135
db/schema_migrations/20200914155135
+1
-0
db/structure.sql
db/structure.sql
+1
-0
No files found.
db/migrate/20200914155135_add_deduplicated_flag_into_security_findings_table.rb
0 → 100644
View file @
14ca0064
# frozen_string_literal: true
class
AddDeduplicatedFlagIntoSecurityFindingsTable
<
ActiveRecord
::
Migration
[
6.0
]
DOWNTIME
=
false
def
change
add_column
:security_findings
,
:deduplicated
,
:boolean
,
default:
false
,
null:
false
end
end
db/schema_migrations/20200914155135
0 → 100644
View file @
14ca0064
0b01a251eb736eb9e9986214c69ea5f4a11d8293bc4083af1585ce265c8f69de
\ No newline at end of file
db/structure.sql
View file @
14ca0064
...
...
@@ -15468,6 +15468,7 @@ CREATE TABLE public.security_findings (
severity
smallint
NOT
NULL
,
confidence
smallint
NOT
NULL
,
project_fingerprint
text
NOT
NULL
,
deduplicated
boolean
DEFAULT
false
NOT
NULL
,
CONSTRAINT
check_b9508c6df8
CHECK
((
char_length
(
project_fingerprint
)
<=
40
))
);
...
...
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