Skip to content

Instantly share code, notes, and snippets.

@duellsy
Created August 23, 2013 03:27
Show Gist options
  • Save duellsy/6315260 to your computer and use it in GitHub Desktop.
Save duellsy/6315260 to your computer and use it in GitHub Desktop.
Load all changes for a particular model field with Revisionable
$all_ever = \VentureCraft\Revisionable\Revision::where('revisionable_type', 'post')
->where('key', 'blog_title')
->orderBy('id', 'asc')
->get();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment