Back to Glossary

Rollback

Reverting a deployment or database change to a previous working version when something goes wrong.

A rollback is your emergency brake. When a new deployment introduces a bug, a rollback reverts your application to the last known working version. When a database migration breaks something, a rollback undoes the schema change.

Modern hosting platforms like Vercel make application rollbacks simple: click a previous deployment and promote it to production. Database rollbacks are harder and require writing "down" migrations that reverse each change. Some changes (like dropping a column) cannot be easily reversed, which is why careful migration planning matters.

For vibe coders, having a rollback plan before deploying is more important than the deployment itself. AI can help you write rollback scripts and test them, but the discipline of always having a way back is a human responsibility.

Related Courses

Links open the course details directly on the Courses page.