unsort_db_schema_columns 0.1.0
Rails 8 (PR #53281) sorts schema.rb columns alphabetically. That breaks db:schema:load parity with production, Postgres column-alignment padding, add_column :after/:before, and bulk-import pipelines that depend on SELECT * column order. This gem prepends ActiveRecord::SchemaDumper to dump columns in the order the database actually stores them.
Gemfile:
=
install:
=
Versions:
- 0.1.0 May 14, 2026 (8.5 KB)
Runtime Dependencies (2):
activerecord
>= 8.0, < 9.0
railties
>= 8.0, < 9.0