]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/022_key_constraints.rb
Use binary mode for trace files
[rails.git] / db / migrate / 022_key_constraints.rb
index 46e7ae662b9eddafc2e0a772814b3c1db062ff6e..f94c965bb087dc8501378cc2efb92acb47649865 100644 (file)
@@ -1,4 +1,4 @@
-require 'lib/migrate'
+require 'migrate'
 
 class KeyConstraints < ActiveRecord::Migration
   def self.up
@@ -47,6 +47,6 @@ class KeyConstraints < ActiveRecord::Migration
   end
 
   def self.down
-    raise IrreversibleMigration.new
+    raise ActiveRecord::IrreversibleMigration
   end
 end