]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20201214144017_expand_nonce_id.rb
Update bundle
[rails.git] / db / migrate / 20201214144017_expand_nonce_id.rb
index 9416ffe6aec05c682cd6de0f47fc455de44d1ff3..1baa286fb7dc1b9f946b865fa81b7aab0baa194b 100644 (file)
@@ -1,7 +1,11 @@
 class ExpandNonceId < ActiveRecord::Migration[6.0]
-  def change
+  def up
     safety_assured do
       change_column :oauth_nonces, :id, :bigint
     end
   end
+
+  def down
+    raise ActiveRecord::IrreversibleMigration
+  end
 end