Skip to content

Conversation

promatik
Copy link
Contributor

@promatik promatik commented Aug 9, 2021

Since v8.36.0, Laravel supports the useCurrentOnUpdate modifier – laravel/framework#36817
This PR adds it to the list of $modifiers.

@jasonmccreary
Copy link
Collaborator

@promatik, could you add this to a draft file for one of the migrations (or make a new one) so we have coverage.

@promatik
Copy link
Contributor Author

Sure @jasonmccreary, I added it to ModelLexerTest.php, there was a test using useCurrent on a saved_at column. I added another column named updated_at with useCurrentOnUpdate.

@promatik
Copy link
Contributor Author

End up adding it to the drafts/post.yaml too.

@jasonmccreary jasonmccreary merged commit 67cfc6b into laravel-shift:master Aug 13, 2021
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