]> git.openstreetmap.org Git - rails.git/commitdiff
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 976aeb19e69d388f17b3aaf6e0ad182611f5e27d..b64c9caf0b5f63968fa2840ada70f5201ad791da 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