X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/384ac4610262157e13f5a3d2656ac5023f35beea..43a45e16585c399139e3b3a062fd8b1195527a5b:/db/migrate/20201214144017_expand_nonce_id.rb?ds=sidebyside diff --git a/db/migrate/20201214144017_expand_nonce_id.rb b/db/migrate/20201214144017_expand_nonce_id.rb index 9416ffe6a..1baa286fb 100644 --- a/db/migrate/20201214144017_expand_nonce_id.rb +++ b/db/migrate/20201214144017_expand_nonce_id.rb @@ -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