Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@DiegoJaureRomero DiegoJaureRomero released this 25 Aug 14:35
· 4 commits to main since this release
28c98a0

Rollback feature!

It has the feature of Rollback any auditable Model to the time of your choice, for example

$retrievesPost = Rollback::forModel($post)
                         ->atDate(Carbon::now()->subDay())
                         ->retrieve();

Or if you just want to see the first Post created

$retrievesPost = Rollback::forModel($post)
                         ->retrieve();

Other features:

  • Clearer output in the console for commands
  • Testing