Skip to content

Conversation

@jycor
Copy link
Contributor

@jycor jycor commented Oct 15, 2024

This PR fixes an issue where foreign keys referencing the same column would fail to update the parent table (only on GMS).
Turns out we were adding the updater in the chain under the parent table's name instead of the child's name.

Additionally, has some small refactoring to tidy up the foreign key chain code.

fixes: #2671

@jycor jycor requested a review from Hydrocharged October 16, 2024 00:01
Copy link
Contributor

@Hydrocharged Hydrocharged left a comment

Choose a reason for hiding this comment

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

All good once the feedback has been addressed!

@jycor jycor merged commit 754f4b7 into main Oct 16, 2024
8 checks passed
@jycor jycor deleted the james/fks branch October 16, 2024 18:34
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.

setting two foreign keys to associate with the same field, deleting data is normal but does not take effect

3 participants