]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/028_add_more_changeset_indexes.rb
Merge branch 'rails42'
[rails.git] / db / migrate / 028_add_more_changeset_indexes.rb
index 45d014e9e51a81115ea4eb8a9cdc260382709bb8..ea2dc0290f3d891e4479b5125ca6500616c92428 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", ["min_lat","max_lat","min_lon","max_lon"], :name => "changesets_bbox_idx", :method => "GIST"
+    add_index "changesets", ["min_lat","max_lat","min_lon","max_lon"], :name => "changesets_bbox_idx", :using => "GIST"
   end
 
   def self.down