]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/002_cleanup_osm_db.rb
Avoid error when there is no layer with a keyid
[rails.git] / db / migrate / 002_cleanup_osm_db.rb
index 0710417e3f77b88b54d1e843fc2703c7d76d0745..92a4f671ac9614e83a1444c6555a1aa1b56020fe 100644 (file)
@@ -1,6 +1,6 @@
 require "migrate"
 
-class CleanupOsmDb < ActiveRecord::Migration
+class CleanupOsmDb < ActiveRecord::Migration[5.0]
   def self.up
     change_column "current_nodes", "latitude", :float, :limit => 53, :null => false
     change_column "current_nodes", "longitude", :float, :limit => 53, :null => false