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
c78227e8
Commit
c78227e8
authored
Feb 04, 2022
by
Jonathan Schafer
Committed by
Adam Hegyi
Feb 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comments explaininng no-ops
parent
58b4b540
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
db/migrate/20210811193033_add_unique_index_to_vulnerability_finding_links.rb
...193033_add_unique_index_to_vulnerability_finding_links.rb
+14
-0
db/post_migrate/20211104165220_remove_vulnerability_finding_links.rb
...rate/20211104165220_remove_vulnerability_finding_links.rb
+3
-0
db/post_migrate/20211210173137_remove_vulnerability_finding_links_again.rb
...0211210173137_remove_vulnerability_finding_links_again.rb
+3
-0
No files found.
db/
post_
migrate/20210811193033_add_unique_index_to_vulnerability_finding_links.rb
→
db/migrate/20210811193033_add_unique_index_to_vulnerability_finding_links.rb
View file @
c78227e8
# frozen_string_literal: true
class
AddUniqueIndexToVulnerabilityFindingLinks
<
Gitlab
::
Database
::
Migration
[
1.0
]
# This migration has been moved to db/post_migrate/20220201193033_add_unique_index_to_vulnerability_finding_links_with_truncate.rb
# Previously, this was causing an bug where there was a conflict between the table cleanup and the index creation.
def
up
# no op
end
...
...
db/post_migrate/20211104165220_remove_vulnerability_finding_links.rb
View file @
c78227e8
# frozen_string_literal: true
class
RemoveVulnerabilityFindingLinks
<
Gitlab
::
Database
::
Migration
[
1.0
]
# This migration has been moved to a TRUNCATE in db/post_migrate/20220201193033_add_unique_index_to_vulnerability_finding_links_with_truncate.rb
# Previously, this was causing an bug where there was a conflict between the table cleanup and the index creation.
def
up
# no op
end
...
...
db/post_migrate/20211210173137_remove_vulnerability_finding_links_again.rb
View file @
c78227e8
# frozen_string_literal: true
class
RemoveVulnerabilityFindingLinksAgain
<
Gitlab
::
Database
::
Migration
[
1.0
]
# This migration has been moved to a TRUNCATE in db/post_migrate/20220201193033_add_unique_index_to_vulnerability_finding_links_with_truncate.rb
# Previously, this was causing an bug where there was a conflict between the table cleanup and the index creation.
def
up
# no op
end
...
...
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