]> git.openstreetmap.org Git - rails.git/blob - db/migrate/017_add_gpx_indexes.rb
Fix the popup image - was updated in OL 2.10 release with a new size
[rails.git] / db / migrate / 017_add_gpx_indexes.rb
1 class AddGpxIndexes < ActiveRecord::Migration
2   def self.up
3     add_index "gpx_files", ["user_id"], :name => "gpx_files_user_id_idx"
4     add_index "gpx_file_tags", ["tag"], :name => "gpx_file_tags_tag_idx"
5   end
6
7   def self.down
8     remove_index "gpx_file_tags", :name => "gpx_file_tags_tag_idx"
9     remove_index "gpx_files", :name => "gpx_files_user_id_idx"
10   end
11 end