How to achieve Multi Tenancy for Stacks
Whether working in a team or by yourself, it’s always useful to have an overview of your deployment history. This history includes information about who deployed, when they deployed, what code revision was deployed and how the deployment was triggered (web, API or redeployment hook). In addition to this, you can also revert back to previous commits if need be.
Reverting to a previous commit will only affect your code - you might still need to restore a database backup. If you wish, you can switch off your database migrations, roll back your database and then roll back your code.
A “Live” status indicates that the code in that commit is live on your servers.
A green deployment indicates that it has been successful, whereas a red one indicates failure.
A reverted deployment is one that is no longer on your servers (the stack was rolled back to an earlier deployment).
Accessing your stack page, click Deployment history in the right sidebar. On this page, you can see your previous commits, and revert back to previous commits. Any code revisions that have not been deployed will have a hollow circle.