sbarre / eloquent-versioned

Add transparent versioning to Laravel 5's Eloquent ORM
MIT License
30 stars 11 forks source link

Allow a model to set 'minor' attributes that won't create a new version #11

Open EspadaV8 opened 9 years ago

EspadaV8 commented 9 years ago

This adds a new property to models that allows them to give an array of attributes that should be counted as 'minor'. If a save is requested, the model exists and all the changed attributes are in the $minorAttributes array then only a minorSave will happen.

Fixes #2