]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/017_add_gpx_indexes.rb
Replace lookup_user_by_id with load_resource
[rails.git] / db / migrate / 017_add_gpx_indexes.rb
index 1778dcc751e832437f65146236fb102ff56098e8..f248038719913102172fec76cafc6b635a997844 100644 (file)
@@ -1,4 +1,4 @@
-class AddGpxIndexes < ActiveRecord::Migration
+class AddGpxIndexes < ActiveRecord::Migration[4.2]
   def self.up
     add_index "gpx_files", ["user_id"], :name => "gpx_files_user_id_idx"
     add_index "gpx_file_tags", ["tag"], :name => "gpx_file_tags_tag_idx"