Rollback option?

Is there any equivalent to Heroku’s “rollback” (Releases and Rollbacks | Heroku) command for deployments on Qovery? We deployed a new version, and for some reason, the Django migration file isn’t running correctly, we have a schema (table) inconsistency in our database, and we’d like to roll back to the previous deployed version. Is this possible? thanks

https://console.qovery.com/organization/828d9c2c-fd72-4b4e-ab58-71de40ecfdd2/project/0bf26679-c2d6-48fd-a485-aed61158fb1c/environment/587c0e5d-80fd-4e9a-bb4f-11b035165985/application/61048b47-fbd1-4b3f-86a2-2b2003bee74d/logs

Are you looking for this?

1 Like

Hi @rophilogene, thanks for the reply. That’s fairly close, so yes.

With what you’re showing we can re-deploy from a specific git commit.

The type of rollback offered by Heroku and some other platforms allows you to auto-redeploy a previous “version”, build, or container. It’s a little bit faster since we don’t have to search through commits, but functionally what you shared accomplishes the same thing (once the right commit is identified).

1 Like

It’s also possible with Qovery if you deploy an app from a container rather than from git. You can take a look at this doc :point_down:

Note: when deploying an app via git, Qovery builds the image and cache it for some time. So it can be re-used on a rollback.