Enabling
If you haven’t already, you will need to enable Statamic’s revisions feature in your.env
:
config/runway.php
revisions
config option to your resource’s config:
config/runway.php
Storing Revisions in the Database
Out of the box, Statamic will store revisions in your project’sstorage/statamic/revisions
directory.
However, if you’d prefer for Statamic to store revisions in the database instead, you can install the official Eloquent Driver and select the “Revisions” repository: