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

TJDB: As a user I should be able to edit/delete foreign key on a table #9039

Closed
akshaysasidrn opened this issue Mar 8, 2024 · 0 comments
Closed

Comments

@akshaysasidrn
Copy link
Collaborator

akshaysasidrn commented Mar 8, 2024

Is your proposal related to a problem?

The user should be able to edit/delete foreign keys on a table post its creation

Describe the solution you'd like

PRD: link
ADR: link
Design: link

  • Changes in FK should be shown in a confirmation modal
  • Deletion of foreign key should be shown with a confirmation modal

Constraints to note:

  • Referential integrity: foreign key must reference an existing primary key value in another table or be nullable
  • Matching data types: foreign key and the referenced primary key must have matching or compatible data types
  • Deletion and Update rules: Set rules to avoid or allow orphaned rows in target table
image image image image image image
@akshaysasidrn akshaysasidrn added this to the Database 1.1 milestone Mar 8, 2024
@akshaysasidrn akshaysasidrn changed the title TJDB: As a user I should be able to edit foreign key on a table TJDB: As a user I should be able to edit/delete foreign key on a table Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants