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

(Improvement) Switch through save to update_or_create #113

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

stevelacey
Copy link
Contributor

Switches the through save strategy to update_or_create so that post_save/post_delete events are fired and created_at timestamps aren't bumped every save regardless of whether an item changed.

@stevelacey stevelacey force-pushed the improvement/update-or-create-through branch from b8b0fe8 to 74c844d Compare September 19, 2022 11:11
@stevelacey stevelacey changed the title Switch through save to update_or_create (Improvement) Switch through save to update_or_create Sep 19, 2022
@stevelacey stevelacey merged commit 34ccff7 into master Sep 19, 2022
@stevelacey stevelacey deleted the improvement/update-or-create-through branch September 19, 2022 11:37
@github-actions github-actions bot mentioned this pull request Sep 19, 2022
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.

1 participant