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

Sluggable Updates every row on every update #723

Open
ghost opened this issue Feb 28, 2023 · 1 comment
Open

Sluggable Updates every row on every update #723

ghost opened this issue Feb 28, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 28, 2023

Is there some reason why when I update any entity, Sluggable updates every single row in the DB that has a relationship to the updated Entity? I have a list of products that are associated with customers and I updated a customer without changing any products and there's a entire SQL log of updating the products. Or maybe it's the Timestampable trait?

@ghost
Copy link
Author

ghost commented Jul 5, 2023

This appears to be a problem with the Timestamable trait.

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

No branches or pull requests

0 participants