]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20201214144017_expand_nonce_id.rb
Convert id column for oauth_nonces to bigint
[rails.git] / db / migrate / 20201214144017_expand_nonce_id.rb
diff --git a/db/migrate/20201214144017_expand_nonce_id.rb b/db/migrate/20201214144017_expand_nonce_id.rb
new file mode 100644 (file)
index 0000000..9416ffe
--- /dev/null
@@ -0,0 +1,7 @@
+class ExpandNonceId < ActiveRecord::Migration[6.0]
+  def change
+    safety_assured do
+      change_column :oauth_nonces, :id, :bigint
+    end
+  end
+end