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

Model_Soft and Model_Temporal purge cascade #298

Open
sagikazarmark opened this issue Sep 13, 2013 · 1 comment
Open

Model_Soft and Model_Temporal purge cascade #298

sagikazarmark opened this issue Sep 13, 2013 · 1 comment

Comments

@sagikazarmark
Copy link
Contributor

The purge method in the mentioned Models do not have the option, to cascade delete the related models, but I think it should have.

I mention #297 here. Model_Soft doesn't have the option to permanently delete an entity, so it won't work without that.

So purging in a Temporal/Soft model means purging in related Temporal/Soft models, and normal delete in the rest.

@emlynwest
Copy link
Contributor

Model_Soft already has this functionality including cascading, looking at the code. For temporal this becomes a lot harder as all temporal relations would need to know they are being purged and not just deleted.

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

2 participants