You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sounds logical to me. The current version will become the previous version when you revert.
So you have an object which has value "A"; you change and save "B"; when you revert to "A" again, it sounds very logical to me that you have the history in your versions table A -> B (-> A (current version))
I currently don't have an environment to test this on myself.
disableVersioning() is mentioned in the docs.
Does $model->disableVersioning()->previousVersion()->revert() skip creating the new version?
I would expect that it does.
$model->previousVersion()->revert(); is creating new data in version table
How can i disabled it.
The text was updated successfully, but these errors were encountered: