This website uses cookies to ensure you get the best experience.
Learn more.
Two application versions overlap during a rolling deployment. The new version wants to rename a required database column immediately. Which migration approach best preserves rollback compatibility?
Published
- Drop the old column before any new application instance starts.
- Rename the column differently in every environment without recording it.
- Assume a successful container build makes every schema change backward compatible.
- Use an expand-and-contract migration: add compatible structure, transition application behavior, and remove old structure only after the compatibility window.
Comments — 0
Sign in to comment