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
adae0ad7
Commit
adae0ad7
authored
Aug 07, 2020
by
Mehmet Emin INAC
Committed by
Mayra Cabrera
Aug 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `resolved_on_default_branch` column into `vulnerabilities` table
parent
71ff79df
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
1 deletion
+19
-1
changelogs/unreleased/227114_add_resolved_on_default_branch_column_into_vulnerabilities.yml
...esolved_on_default_branch_column_into_vulnerabilities.yml
+5
-0
db/migrate/20200804222543_add_resolved_on_default_branch_into_vulnerabilities_table.rb
..._resolved_on_default_branch_into_vulnerabilities_table.rb
+11
-0
db/schema_migrations/20200804222543
db/schema_migrations/20200804222543
+1
-0
db/structure.sql
db/structure.sql
+2
-1
No files found.
changelogs/unreleased/227114_add_resolved_on_default_branch_column_into_vulnerabilities.yml
0 → 100644
View file @
adae0ad7
---
title
:
Add `resolved_on_default_branch` column into `vulnerabilities` table
merge_request
:
38638
author
:
type
:
added
db/migrate/20200804222543_add_resolved_on_default_branch_into_vulnerabilities_table.rb
0 → 100644
View file @
adae0ad7
# 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
db/schema_migrations/20200804222543
0 → 100644
View file @
adae0ad7
21c35b7712ed1933537115a74571904c74b3d61b424b9f954c3ad36e0d1bf139
\ No newline at end of file
db/structure.sql
View file @
adae0ad7
...
@@ -16165,7 +16165,8 @@ CREATE TABLE public.vulnerabilities (
...
@@ -16165,7 +16165,8 @@ CREATE TABLE public.vulnerabilities (
confirmed_by_id
bigint
,
confirmed_by_id
bigint
,
confirmed_at
timestamp
with
time
zone
,
confirmed_at
timestamp
with
time
zone
,
dismissed_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
CREATE
SEQUENCE
public
.
vulnerabilities_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