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
5556fe8f
Commit
5556fe8f
authored
Sep 10, 2021
by
Andreas Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove cop ignore and limit attribute
parent
df8e46f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
db/migrate/20201029144444_create_vulnerability_finding_links.rb
...rate/20201029144444_create_vulnerability_finding_links.rb
+2
-2
No files found.
db/migrate/20201029144444_create_vulnerability_finding_links.rb
View file @
5556fe8f
...
@@ -11,8 +11,8 @@ class CreateVulnerabilityFindingLinks < ActiveRecord::Migration[6.0]
...
@@ -11,8 +11,8 @@ class CreateVulnerabilityFindingLinks < ActiveRecord::Migration[6.0]
create_table
:vulnerability_finding_links
,
if_not_exists:
true
do
|
t
|
create_table
:vulnerability_finding_links
,
if_not_exists:
true
do
|
t
|
t
.
timestamps_with_timezone
null:
false
t
.
timestamps_with_timezone
null:
false
t
.
references
:vulnerability_occurrence
,
index:
{
name:
'finding_links_on_vulnerability_occurrence_id'
},
null:
false
,
foreign_key:
{
on_delete: :cascade
}
t
.
references
:vulnerability_occurrence
,
index:
{
name:
'finding_links_on_vulnerability_occurrence_id'
},
null:
false
,
foreign_key:
{
on_delete: :cascade
}
t
.
text
:name
,
limit:
255
# rubocop:disable Migration/AddLimitToTextColumns
t
.
text
:name
t
.
text
:url
,
limit:
2048
,
null:
false
# rubocop:disable Migration/AddLimitToTextColumns
t
.
text
:url
,
null:
false
end
end
add_text_limit
:vulnerability_finding_links
,
:name
,
255
add_text_limit
:vulnerability_finding_links
,
:name
,
255
...
...
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