Revert changes to old migration.
authorMatt Amos <zerebubuth@gmail.com>
Mon, 22 Aug 2016 17:48:48 +0000 (18:48 +0100)
committerMatt Amos <zerebubuth@gmail.com>
Mon, 22 Aug 2016 17:48:48 +0000 (18:48 +0100)
db/migrate/028_add_more_changeset_indexes.rb

index 976aeb1..b64c9ca 100644 (file)
@@ -4,7 +4,7 @@ class AddMoreChangesetIndexes < ActiveRecord::Migration
   def self.up
     add_index "changesets", ["created_at"], :name => "changesets_created_at_idx"
     add_index "changesets", ["closed_at"], :name => "changesets_closed_at_idx"
-    add_index "changesets", %w(min_lat max_lat min_lon max_lon), :name => "changesets_bbox_idx"
+    add_index "changesets", %w(min_lat max_lat min_lon max_lon), :name => "changesets_bbox_idx", :using => "GIST"
   end
 
   def self.down