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
ff917971
Commit
ff917971
authored
May 12, 2021
by
Jonathan Schafer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add body to finding evidence responses
parent
2fb5ef0c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
1 deletion
+28
-1
changelogs/unreleased/267489-finding-evidence-details-response-body.yml
...eleased/267489-finding-evidence-details-response-body.yml
+5
-0
db/migrate/20210512183309_add_body_to_findings_evidences_response.rb
...20210512183309_add_body_to_findings_evidences_response.rb
+19
-0
db/schema_migrations/20210512183309
db/schema_migrations/20210512183309
+1
-0
db/structure.sql
db/structure.sql
+3
-1
No files found.
changelogs/unreleased/267489-finding-evidence-details-response-body.yml
0 → 100644
View file @
ff917971
---
title
:
Add body to finding evidence responses
merge_request
:
61631
author
:
type
:
changed
db/migrate/20210512183309_add_body_to_findings_evidences_response.rb
0 → 100644
View file @
ff917971
# frozen_string_literal: true
class
AddBodyToFindingsEvidencesResponse
<
ActiveRecord
::
Migration
[
6.0
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
disable_ddl_transaction!
def
up
add_column
:vulnerability_finding_evidence_responses
,
:body
,
:text
add_text_limit
:vulnerability_finding_evidence_responses
,
:body
,
2048
end
def
down
remove_column
:vulnerability_finding_evidence_responses
,
:body
end
end
db/schema_migrations/20210512183309
0 → 100644
View file @
ff917971
490dd9a1fe59fb1454f938763f9b8bce7a0567569ad5f7b8e29b196551d869e1
\ No newline at end of file
db/structure.sql
View file @
ff917971
...
@@ -18810,7 +18810,9 @@ CREATE TABLE vulnerability_finding_evidence_responses (
...
@@ -18810,7 +18810,9 @@ CREATE TABLE vulnerability_finding_evidence_responses (
vulnerability_finding_evidence_id bigint NOT NULL,
vulnerability_finding_evidence_id bigint NOT NULL,
status_code integer,
status_code integer,
reason_phrase text,
reason_phrase text,
CONSTRAINT check_58b124ab48 CHECK ((char_length(reason_phrase) <= 2048))
body text,
CONSTRAINT check_58b124ab48 CHECK ((char_length(reason_phrase) <= 2048)),
CONSTRAINT check_76bac0c32b CHECK ((char_length(body) <= 2048))
);
);
CREATE SEQUENCE vulnerability_finding_evidence_responses_id_seq
CREATE SEQUENCE vulnerability_finding_evidence_responses_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