Title here
Summary here
You need to rename a core column user_name to username in a User table that receives 10,000 requests per second. You cannot afford any downtime or maintenance window.
How do you execute this migration safely ensuring both the old and new versions of the application code work during the transition?
username (nullable) to the DB.user_name.user_name to username.username (still writes to both for rollback safety).user_name column and stop writing to it.