Handle not ready repos
[gitorious.git] / db / migrate / 20121121093938_rename_troublesome_index.rb
blob68705af338f037a822cee7a1e2036902b00abbf0
1 class RenameTroublesomeIndex < ActiveRecord::Migration
2   def up
3     rename_index "merge_requests", "index_merge_requests_on_sequence_number_and_target_repository_id", "index_merge_requests_on_sequence_number"
4   end
6   def down
7     rename_index "merge_requests", "index_merge_requests_on_sequence_number", "index_merge_requests_on_sequence_number_and_target_repository_id"
8   end
9 end