Versionable/Revisionable ModelsCreated 2 years ago by ryanthompson
The outline of this feature would be to basically allow versioning of model entries. My thought is to add a version column to the models and auto-scope the query similar to
soft deletes in laravel.
We could sort by version descending first and use the latest inside the query builder. Index the column for optimization. Then save / save as new version would be options in the forms? Or we could just always save to new version?
The purpose of this would be to allow you to roll back to an earlier state of the entry you modified. This is huge with larger entities like banks and legal industry businesses.