Skip to content

Clean orphan sections #29

@ludov04

Description

@ludov04

When posting a topic that already exists, it unlinks existing sections and add new ones.
This results to section rows with NULL as topic_id.

Tasks:

  • Clean up Sections table (Remove rows with NULL topic_id)
  • Set the foreign key on topic_id in the Sections table to ON DELETE CASCADE

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions