Skip to content

Revert "[5.3] Fix regression in save(touch) option" - #16660

Merged
taylorotwell merged 1 commit into
5.3from
revert-15264-fix/save-touch-option
Dec 5, 2016
Merged

Revert "[5.3] Fix regression in save(touch) option"#16660
taylorotwell merged 1 commit into
5.3from
revert-15264-fix/save-touch-option

Conversation

@themsaid

@themsaid themsaid commented Dec 5, 2016

Copy link
Copy Markdown
Member

Reverts #15264

This feature doesn't work because the update method of Eloquent/Builder adds the updated_at column anyway, we already removed the timestamp option before #12617 based on this #12403 (comment)

To prevent touching the model timestamp we should use this instead:

$user->timestamps = false;

$user->save();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants