]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/008_remove_segments.rb
Add pure SQL version of xid_to_int4.
[rails.git] / db / migrate / 008_remove_segments.rb
index 5c9bd1c39691ec0507b2f9f27fbce6842567e52b..985a85820a1202a7a74d14165f2482fe915672af 100644 (file)
@@ -1,6 +1,6 @@
 require "migrate"
 
-class RemoveSegments < ActiveRecord::Migration[5.0]
+class RemoveSegments < ActiveRecord::Migration[4.2]
   def self.up
     have_segs = select_value("SELECT count(*) FROM current_segments").to_i.nonzero?