]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20201214144017_expand_nonce_id.rb
Backfill the creation_address column from creation_ip
[rails.git] / db / migrate / 20201214144017_expand_nonce_id.rb
1 class ExpandNonceId < ActiveRecord::Migration[6.0]
2   def up
3     safety_assured do
4       change_column :oauth_nonces, :id, :bigint
5     end
6   end
7
8   def down
9     raise ActiveRecord::IrreversibleMigration
10   end
11 end