Dealing With Schema Changes in Rails 7

1 ยท fastruby.io ยท Oct. 4, 2023, 3:30 a.m.
When you upgrade a Rails application from Rails 6.1 to 7.0, you may suddenly see a lot of changes in the schema.rb file and wonder where those changes come from and how to deal with them. In this post, we look at what those changes are, and how to deal with them when upgrading a Rails application. What are the changes? When you upgrade a Rails application to Rails 7.0, you will start seeing a lot of differences in the schema.rb file. There are mainly 2 kinds of changes. First, you will start se...