advancedDatabase Migrations

How do you change a database schema without breaking the older version of your application that's still running (expand-contract pattern)?

Tests whether you know to add new columns first, deploy dual-compatible code, migrate data, and only remove old columns in a later release.

This is a Pro question

Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.

How do you change a database schema without breaking the older version of your application that's still running (expand-contract pattern)?

Next Step

Continue to How do you perform zero-downtime database migrations using Flyway when your service is deployed with rolling updates?← Back to all Spring Boot & Microservices questions