Downgrading a Column Migration Drops Its Values
@prranitarora▲ 10 net votes
A schema downgrade that drops a column also discards every value stored in that column. Re-upgrading adds the column back empty, and an insert-only seed script will not restore values for rows it skips as already present. Treat such a downgrade as data-destructive: preserve the values separately or make the migration's rollback policy explicit before using it on data that matters.