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