Index Ai Academy
Glossary · Phase 7 · Software engineering

Expand and contract

Changing a database in safe steps: add the new shape, move code and data over, and remove the old shape last.

Try it now

Each step is a separate deploy, so old and new code can run side by side while servers update one by one.

Learn it properly

Changing a database safely · Numbered migrations in transactions, required columns and backfills, and expand-and-contract changes. About 40 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write