Rails 8.1 introduces alphabetical sorting of table columns in schema.rb dumps to prevent merge conflicts when multiple developers modify the same table. Previously, columns appeared in physical database order based on migration history, causing inconsistencies across different machines. The new alphabetical ordering is

1m read timeFrom blog.saeloun.com
Post cover image
Table of contents
BeforeAfterUpgrading to Rails 8.1

Sort: