]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/022_key_constraints.rb
Fix new rubocop warnings
[rails.git] / db / migrate / 022_key_constraints.rb
index 79706bc4a64cf59599ec07022d313a908d2af080..5a6a9296fcb4bb4acc3e157fa9934890db67a1e5 100644 (file)
@@ -1,4 +1,4 @@
-require 'migrate'
+require "migrate"
 
 class KeyConstraints < ActiveRecord::Migration
   def self.up
@@ -47,6 +47,6 @@ class KeyConstraints < ActiveRecord::Migration
   end
 
   def self.down
-    fail ActiveRecord::IrreversibleMigration
+    raise ActiveRecord::IrreversibleMigration
   end
 end