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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
d47bc70c
Commit
d47bc70c
authored
Dec 11, 2017
by
Yorick Peterse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix migration that removes issues.branch_name
parent
bd8b6518
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
app/models/issue.rb
app/models/issue.rb
+1
-1
db/post_migrate/20171106154015_remove_issues_branch_name.rb
db/post_migrate/20171106154015_remove_issues_branch_name.rb
+0
-0
No files found.
app/models/issue.rb
View file @
d47bc70c
...
@@ -12,7 +12,7 @@ class Issue < ActiveRecord::Base
...
@@ -12,7 +12,7 @@ class Issue < ActiveRecord::Base
include
ThrottledTouch
include
ThrottledTouch
include
IgnorableColumn
include
IgnorableColumn
ignore_column
:assignee_id
ignore_column
:assignee_id
,
:branch_name
DueDateStruct
=
Struct
.
new
(
:title
,
:name
).
freeze
DueDateStruct
=
Struct
.
new
(
:title
,
:name
).
freeze
NoDueDate
=
DueDateStruct
.
new
(
'No Due Date'
,
'0'
).
freeze
NoDueDate
=
DueDateStruct
.
new
(
'No Due Date'
,
'0'
).
freeze
...
...
db/migrate/20171106154015_remove_issues_branch_name.rb
→
db/
post_
migrate/20171106154015_remove_issues_branch_name.rb
View file @
d47bc70c
File moved
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