diff options
author | micael.bergeron <micaelbergeron@gmail.com> | 2017-11-01 19:30:16 +0300 |
---|---|---|
committer | micael.bergeron <micaelbergeron@gmail.com> | 2017-11-03 15:13:11 +0300 |
commit | 84b9343230f73dfd2ee6de0b894160bb4b745780 (patch) | |
tree | 0844621677a48382cfd9b726dde739f23ca92532 /db | |
parent | 5c367a2a36dec7a4b4a6f0b911db5551d7fd8411 (diff) |
make the migration reversible
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20171101134435_remove_ref_fetched_from_merge_requests.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20171101134435_remove_ref_fetched_from_merge_requests.rb b/db/post_migrate/20171101134435_remove_ref_fetched_from_merge_requests.rb index acba8384da4..4e8f495d65d 100644 --- a/db/post_migrate/20171101134435_remove_ref_fetched_from_merge_requests.rb +++ b/db/post_migrate/20171101134435_remove_ref_fetched_from_merge_requests.rb @@ -9,6 +9,6 @@ class RemoveRefFetchedFromMergeRequests < ActiveRecord::Migration # # See https://gitlab.com/gitlab-org/gitlab-ce/issues/36061 def change - remove_column :merge_requests, :ref_fetched + remove_column :merge_requests, :ref_fetched, :boolean end end |