Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add $minorAttributes property #2

Open
sbarre opened this issue May 25, 2015 · 0 comments
Open

Add $minorAttributes property #2

sbarre opened this issue May 25, 2015 · 0 comments

Comments

@sbarre
Copy link
Owner

sbarre commented May 25, 2015

Specify at the model level properties that should only trigger a saveMinor() call when updated.

@sbarre sbarre changed the title Add $minorAttribute property Add $minorAttributes property May 25, 2015
EspadaV8 referenced this issue in EspadaV8/eloquent-versioned Jun 10, 2015
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant