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
b9b273ac
Commit
b9b273ac
authored
May 04, 2017
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust rubocop offenses
parent
5780df0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
db/migrate/20170424131911_create_related_issues_table.rb
db/migrate/20170424131911_create_related_issues_table.rb
+2
-2
No files found.
db/migrate/20170424131911_create_related_issues_table.rb
View file @
b9b273ac
...
...
@@ -13,7 +13,7 @@ class CreateRelatedIssuesTable < ActiveRecord::Migration
add_index
:related_issues
,
[
:issue_id
,
:related_issue_id
],
unique:
true
add_foreign_key
:related_issues
,
:issues
,
column: :issue_id
add_foreign_key
:related_issues
,
:issues
,
column: :related_issue_id
add_
concurrent_
foreign_key
:related_issues
,
:issues
,
column: :issue_id
add_
concurrent_
foreign_key
:related_issues
,
:issues
,
column: :related_issue_id
end
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