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
bc6a3129
Commit
bc6a3129
authored
May 13, 2021
by
Jonathan Schafer
Committed by
Steve Abrams
May 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add body to finding evidence requests
parent
b38c7efe
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
0 deletions
+36
-0
changelogs/unreleased/267489-finding-evidence-details-request-body.yml
...released/267489-finding-evidence-details-request-body.yml
+5
-0
db/migrate/20210510191551_add_body_to_findings_evidences_request.rb
.../20210510191551_add_body_to_findings_evidences_request.rb
+10
-0
db/migrate/20210510191552_add_limit_to_findings_evidences_request_body.rb
...510191552_add_limit_to_findings_evidences_request_body.rb
+17
-0
db/schema_migrations/20210510191551
db/schema_migrations/20210510191551
+1
-0
db/schema_migrations/20210510191552
db/schema_migrations/20210510191552
+1
-0
db/structure.sql
db/structure.sql
+2
-0
No files found.
changelogs/unreleased/267489-finding-evidence-details-request-body.yml
0 → 100644
View file @
bc6a3129
---
title
:
Add body to finding evidence requests
merge_request
:
61408
author
:
type
:
changed
db/migrate/20210510191551_add_body_to_findings_evidences_request.rb
0 → 100644
View file @
bc6a3129
# frozen_string_literal: true
class
AddBodyToFindingsEvidencesRequest
<
ActiveRecord
::
Migration
[
6.0
]
# rubocop:disable Migration/AddLimitToTextColumns
# limit is added in 20210510191552_add_limit_to_findings_evidences_request_body.rb
def
change
add_column
:vulnerability_finding_evidence_requests
,
:body
,
:text
end
# rubocop:enable Migration/AddLimitToTextColumns
end
db/migrate/20210510191552_add_limit_to_findings_evidences_request_body.rb
0 → 100644
View file @
bc6a3129
# frozen_string_literal: true
class
AddLimitToFindingsEvidencesRequestBody
<
ActiveRecord
::
Migration
[
6.0
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
disable_ddl_transaction!
def
up
add_text_limit
:vulnerability_finding_evidence_requests
,
:body
,
2048
end
def
down
remove_text_limit
:vulnerability_finding_evidence_requests
,
:body
end
end
db/schema_migrations/20210510191551
0 → 100644
View file @
bc6a3129
949038f9f66788e3289afbf210617f7947762e4bbab4c7389164cbd775302642
\ No newline at end of file
db/schema_migrations/20210510191552
0 → 100644
View file @
bc6a3129
e59505ee2a3ef04c1af8a426f7ebdb83874c926cf7d7f98b56e0af8cd38988f5
\ No newline at end of file
db/structure.sql
View file @
bc6a3129
...
...
@@ -18809,6 +18809,8 @@ CREATE TABLE vulnerability_finding_evidence_requests (
vulnerability_finding_evidence_id bigint NOT NULL,
method text,
url text,
body text,
CONSTRAINT check_7e37f2d01a CHECK ((char_length(body) <= 2048)),
CONSTRAINT check_8152fbb236 CHECK ((char_length(url) <= 2048)),
CONSTRAINT check_d9d11300f4 CHECK ((char_length(method) <= 32))
);
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