7 ms·
> There is no such thing as a database migration on prod. There is just adding columns. Code should work with new columns added at any point. If you can't alte
by zmmmmm 7y ago
> There is no such thing as a database migration on prod. There is just adding columns. Code should work with new columns added at any point.
If you can't alter a column, how do you prevent your database slowly rotting in terms of its design integrity?
- ransom1538 7y agoSure. After the code has been live with the new column for two (?) weeks - drop the column you don't need. Alters = add a new column, weeks later delete the old column.