How would you change a database schema without deploying all services at once?
Several services read from and update an orders table. You need to rename the total column to amount, but you can't deploy new versions of every service simultaneously. Describe a phased migration using the expand-contract approach. How would you keep older versions working, migrate existing values, verify the results, and determine when it's safe to remove the old column?
ExplainDDL, keys, and normalizationSeniorBackendData EngineerQA