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 for foreign key breaking when column name is changed #9742

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shaurya-sharma064
Copy link
Collaborator

@shaurya-sharma064 shaurya-sharma064 commented May 16, 2024

closes #9718

Problem:
Changing the Name of the Foreign Key Column would end up breaking the foreign key relation.

Fix:
Changed the code such that the foreignKeyDetails variable gets updated when the column name gets updated too for edit column name & edit/create table features.

Copy link

@akshaysasidrn akshaysasidrn changed the base branch from release/database-1.1 to release/database-1.1.1 May 16, 2024 06:36
@shaurya-sharma064 shaurya-sharma064 added this to the Database 1.1.1 milestone May 16, 2024
akshaysasidrn
akshaysasidrn previously approved these changes May 16, 2024
@shaurya-sharma064 shaurya-sharma064 changed the title Foreign Key Name Change Fix Fix for foreign key breaking when column name is changed May 16, 2024
@akshaysasidrn akshaysasidrn dismissed their stale review May 22, 2024 06:01

The merge-base changed after approval.

Base automatically changed from release/database-1.1.1 to main June 6, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TJDB: Editing the column name after foreign key is made breaks create/edit table
2 participants