See every change in order
The Versions tab lists each version with what was added or changed and when. It's the first place to look after a hand edit to the code breaks something.

Every change to an app you build on Hercules saves a new version. If a change breaks the quote form or the dispatch board, open the Versions tab, pick the last version that worked and revert to it.
Reverting rolls back your app's code, configuration and database structure, and the records in your database stay as they are.
The Versions tab lists each version with what was added or changed and when. It's the first place to look after a hand edit to the code breaks something.


Click a version in the Versions tab or in the version switcher next to the Publish button, then confirm. Hercules recommends waiting about 15 seconds before you check the app.
Hercules keeps every version, so you can return to a later one whenever you like. If you revert from version 10 to version 6 and then make a change, that change becomes version 11.

A version is a complete snapshot of your app's code, configuration and database structure at one point in time. A version doesn't include files uploaded to Hercules Files & Media or records in your database.

If rolling back would undo good work, ask Hercules to fix the problem in a new chat instead. For a bigger fix, use a branch, a separate copy of the app for building and testing, with Replicate production data on to start from a one-time copy of your production records.

From the Dashboard, open an app's three-dot menu and click Duplicate. The copy carries the code, files and settings, and starts unpublished.
Open the Versions tab and find the last version saved before the break. In this hypothetical example, an estimator at a metal fabrication shop finds the version saved before someone edited the quote page by hand.
She clicks that version and confirms, and Hercules restores the earlier code and rebuilds the app. Quotes calculate again, so she goes back to sending bids, and quotes saved in the meantime are still in the database.
Add a 5% rush fee to quotes when the delivery date is less than a week away.
Hercules makes the change the hand edit was trying to make and saves it as the next version.
In this hypothetical example, a regional freight broker fixes a broken page forward instead of reverting, so a newer change their team relies on stays in place. A change to the carrier page leaves the rate column blank. The same version added an invoice field the billing team already uses, and a revert would remove both. The operations lead asks Hercules in a new chat to fix the rate column, and Hercules saves the fix as a new version.
A revert restores the code, rebuilds the app and updates the preview. On a complex app that takes up to about 30 seconds. Version Control
Merge and Publish leave the records in your database as they are, the same as a revert. Version Control
Export your database from More, then Export, before you make the change. Database export and scheduled database backups each need a paid plan. Export data
A duplicate app leaves out domains, published URLs and commerce settings, among other things. Version Control
Open any app and click Versions in the sidebar to see every change it has saved so far. Start building.