Revisions not deleted automatically once related "revisionable" entity is deleted
Open
@bennothommo is already working on this.
Since Nov 22, 2021.
- Dominant language
- PHP
- Stars
- 1.5k
- Forks
- 246
- Avg merge
- 19h 2m
- Merged PRs (30d)
- 7
Description
Winter CMS Build
dev-develop
PHP Version
8.0
Database engine
MySQL/MariaDB
Plugins installed
No response
Issue description
When a revisionable model gets deleted (physically from the database) no related revisions of that model get deleted automatically from system_revisions.
Steps to replicate
- Create a revisionable model
- Save it to the database
- Delete it
Expected result:
All related revisions should be removed
Actual result:
Revisions remain in system_revisions
Workaround
No response
Any further details?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.