]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/039_add_more_controls_to_gpx_files.rb
Use rails 4.2 defaults for older migrations
[rails.git] / db / migrate / 039_add_more_controls_to_gpx_files.rb
index 945a7021d46b54e9ea70554fa3214174b3b0b514..8cc08cda6d57b9b05760ec829fa23c9efbb099db 100644 (file)
@@ -1,6 +1,6 @@
 require "migrate"
 
-class AddMoreControlsToGpxFiles < ActiveRecord::Migration[5.0]
+class AddMoreControlsToGpxFiles < ActiveRecord::Migration[4.2]
   def self.up
     create_enumeration :gpx_visibility_enum, %w[private public trackable identifiable]
     add_column :gpx_files, :visibility, :gpx_visibility_enum, :default => "public", :null => false