]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/034_create_languages.rb
Add a test for diary entry creation
[rails.git] / db / migrate / 034_create_languages.rb
index 27994b3fecd16cc7c903ea0289a8f128b91d2847..e62a3dff9cbe82c415033248f4753ff0086e24a0 100644 (file)
@@ -1,4 +1,4 @@
-require 'lib/migrate'
+require 'migrate'
 
 class CreateLanguages < ActiveRecord::Migration
   def self.up
@@ -17,6 +17,6 @@ class CreateLanguages < ActiveRecord::Migration
   end
 
   def self.down
-    raise IrreversibleMigration.new
+    raise ActiveRecord::IrreversibleMigration
   end
 end