- Run code with the previous version to migrate - Upgrade code - Upgrade versions - Upgrade db (running the scripts)