Closed mahmoudmohamedramadan closed 3 years ago
if you are talking about storing revision for recently created model.
You need to enable this:
protected $revisionCreationsEnabled = true;
See more:
https://github.com/VentureCraft/revisionable#storing-creations
@antoniputra thanks... it's working now ✨
I was would like to work WITH this awesome package into the Laravel project WITH an
8.40
version and PHP WITH an^8.0
version. I've installed this package successfully and migrated the tablealso, I've used the
RevisionableTrait
trait in the\App\Models\Comment
model and when I tried to add a new comment to the post nothing happens in the databaseHere I tried to add a new comment to the post BUT nothing happens