Look back and restore
History isn't only for reading. Pick an earlier point in the project, see how it differs from now and bring things back. Restoring never changes the repository directly. It puts the old value into your draft, where you can review it and send it in a pull request, or discard it. Admins, schema designers and designers can restore values and records, and only admins and schema designers can undo schema changes.
Pick a point in time
Open History and choose As of…. Stoatly lists recent merges, such as "After PR #12 · 3 days ago". Choose one to view the project as it was then. Choose Show older for more. To go back to now, choose Clear as-of point.
You can also start from a pull request in the events list with View as of this PR or View as of before this PR.
Compare to now
With a point chosen, Compare to now shows what is different:
- How many pull requests have merged since.
- The totals of objects, records, members and fields, then and now.
- Schema changes since, such as "Field damage was changed".
- On a record, each field As of then next to Now, and who set it.
Records created after the point say so. A record removed since says "This record has been removed", and one that was retired says it's obsolete. Formula fields are skipped, because they recalculate.

Restore a value
On a record, tick Include on the fields you want, then choose Apply values to my draft, or restore a single value with Restore beside it. Text fields offer Restore earlier text to my draft.
If your draft already has a different value for the field, Stoatly asks "Replace your draft value?" so you don't lose work by accident. You can Undo afterwards.
A restore can be refused, with the reason shown:
- You have unsaved changes on the record. Save or discard them first.
- The field no longer accepts that value, for example because a rule changed.
- The record is no longer available.
Restore a record
A record that was deleted or retired can be brought back with Restore record. It returns to your drafts, or is no longer obsolete in your draft. Stoatly refuses if a record with the same slug already exists.
Undo a creation
A record that was created can be removed again with Remove record. Stoatly says how many records still point at it.
Undo a schema change
Schema events have a matching button:
| Event | Button |
|---|---|
| Field added | Remove field |
| Field changed | Undo field change |
| Field removed | Restore field |
| Object created | Remove object |
| Object deleted | Restore object |
| Enum value added | Deprecate value |
| Enum value deprecated | Restore value |
Each change goes into your draft, for example "Field re-created in your draft". It can be blocked, for example when a field with that key already exists, or when the change was recorded before it could be undone.
Next steps
Review what you restored in Your changes, then send it in a pull request.