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
84b93432
Commit
84b93432
authored
Nov 01, 2017
by
micael.bergeron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make the migration reversible
parent
5c367a2a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
changelogs/unreleased/remove-ensure-ref-fetched-from-controllers.yml
...unreleased/remove-ensure-ref-fetched-from-controllers.yml
+1
-1
db/post_migrate/20171101134435_remove_ref_fetched_from_merge_requests.rb
.../20171101134435_remove_ref_fetched_from_merge_requests.rb
+1
-1
No files found.
changelogs/unreleased/remove-ensure-ref-fetched-from-controllers.yml
View file @
84b93432
---
---
title
:
Removed merge requests fetching their refs on every action.
title
:
Removed merge requests fetching their refs on every action.
merge_request
:
merge_request
:
15129
author
:
author
:
type
:
removed
type
:
removed
db/post_migrate/20171101134435_remove_ref_fetched_from_merge_requests.rb
View file @
84b93432
...
@@ -9,6 +9,6 @@ class RemoveRefFetchedFromMergeRequests < ActiveRecord::Migration
...
@@ -9,6 +9,6 @@ class RemoveRefFetchedFromMergeRequests < ActiveRecord::Migration
#
#
# See https://gitlab.com/gitlab-org/gitlab-ce/issues/36061
# See https://gitlab.com/gitlab-org/gitlab-ce/issues/36061
def
change
def
change
remove_column
:merge_requests
,
:ref_fetched
remove_column
:merge_requests
,
:ref_fetched
,
:boolean
end
end
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