X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bd1420a7c51b7d1c3a64bc02756393c7ad2025f5..0425aeebbcf511b6b3627c5a3ba8f5066c80660b:/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 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