Hacker News new | ask | show | jobs
by sokoloff 968 days ago
Why wouldn't one deploy be enough to convert a non-nullable column to nullable? Going the other way takes two deploys I can see, but this way seems like is entirely backwards compatible.
1 comments

If apps are using the column they might need code changes to handle the column suddenly having nulls. So you would have to change and redeploy the code, then make the column nullable.
Thank you! (I should have been able to get there on my own but, for whatever reason, I obviously didn't.)