Foreign keys are created with int instead bigint

Hello!

After recently upgrading our app to Rails 7, I see that when I reset the database (delete db/schema.rb too), the foreign keys are set as type integer instead of bigint.

Does anyone know if anything is changed recently in the Rails codebase? I couldn’t find anything.