Fix SQLite3 data loss when altering tables inside a transaction by emirn · Pull Request #57128 · rails/rails
Motivation / Background
Fixes #55866. Fixes #58705. Follow-up to #55907.
On SQLite, column changes such as remove_column, change_column_null and change_column_default rebuild the table: copy it, dr...
GitHub