Skip to content

SuperTable elements are not deleted along with a deleted entry #568

@mofman

Description

@mofman

Describe the bug

We have a site where the database has become quite large (4gb uncompressed) it is starting to become an issue for us.

In effort to reduce the size of the db, we are deleting old expired entries. However we are noticing that dispite doing this it is having little effect on the size of the db, it seems like the supertable elements are remaining in craft_elements and craft_element_sites

Steps to reproduce

  1. Delete an entry
  2. Check if associated supertable elements are deleted from craft_elements and craft_element_sites tables

Craft CMS version

4.12.8

Plugin version

3.0.15

Multi-site?

No

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions