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

fix: resolved failing project delete #3017

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

akhilmhdh
Copy link
Member

Description 📣

This PR fixes project delete failing due to multiple reasons

  1. When project delete triggers a cascade, the project role table is tried to delete. But this causes the project group and user table to throw a foreign key error.
  2. When the same secret manager key id is in two projects, causes foreign key error. Happened due to project split.

Type ✨

  • Bug fix
  • New feature
  • Improvement
  • Breaking change
  • Documentation

Tests 🛠️

# Here's some code block to paste some code snippets

@akhilmhdh akhilmhdh requested a review from maidul98 January 21, 2025 15:27
@akhilmhdh akhilmhdh self-assigned this Jan 21, 2025
@maidul98 maidul98 merged commit d202fdf into Infisical:main Jan 21, 2025
5 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.

2 participants