Y
Hacker News
new
|
ask
|
show
|
jobs
by
yoloClin
2256 days ago
I'm more curious about how DB rollbacks occur in situations where a PR changes DB and is then reverted.
1 comments
aledalgrande
2256 days ago
It would be a good practice to first make a DB change alone, which is compatible with both and new code, so you don't need rollbacks. Then separately deploy a code change.
Edit: also suggested by Martin Fowler
https://www.martinfowler.com/bliki/BlueGreenDeployment.html
link
Edit: also suggested by Martin Fowler https://www.martinfowler.com/bliki/BlueGreenDeployment.html