]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/008_remove_segments.rb
Merge remote-tracking branch 'upstream/master' into routing
[rails.git] / db / migrate / 008_remove_segments.rb
index 16968edadfdd63725ec87f2f264e6906504fdc20..ce49e9ccaf4e76608065d8968a52a7a15c84e72f 100644 (file)
@@ -1,4 +1,4 @@
-require 'lib/migrate'
+require 'migrate'
 
 class RemoveSegments < ActiveRecord::Migration
   def self.up
@@ -82,6 +82,6 @@ class RemoveSegments < ActiveRecord::Migration
   end
 
   def self.down
-    raise IrreversibleMigration.new
+    raise ActiveRecord::IrreversibleMigration
   end
 end