Skip to content

feat: add ON DELETE CASCADE for jira and gitlab integration foreign keys#2038

Merged
timbastin merged 1 commit into
mainfrom
feat/cascade-delete-jira-gitlab-integrations
May 21, 2026
Merged

feat: add ON DELETE CASCADE for jira and gitlab integration foreign keys#2038
timbastin merged 1 commit into
mainfrom
feat/cascade-delete-jira-gitlab-integrations

Conversation

@refoo0
Copy link
Copy Markdown
Member

@refoo0 refoo0 commented May 21, 2026

No description provided.

Signed-off-by: rafi <refaei.shikho@hotmail.com>
Copilot AI review requested due to automatic review settings May 21, 2026 09:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the database schema so that removing an organization will automatically delete any associated Jira and GitLab integration rows, preventing orphaned integrations.

Changes:

  • Recreates the jira_integrations.org_id foreign key with ON DELETE CASCADE.
  • Recreates the gitlab_integrations.org_id foreign key with ON DELETE CASCADE.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@timbastin timbastin merged commit 3d03b40 into main May 21, 2026
15 checks passed
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

Successfully merging this pull request may close these issues.

3 participants