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

Removal of association does not remove the isForeignKeyFor value #47

Closed
alprinias opened this issue Oct 5, 2022 · 1 comment
Closed
Labels
bug Something isn't working released Issue is resolved in a current release
Milestone

Comments

@alprinias
Copy link

Hi,

I had a bidirectional association between two tables and it happened that the Primary Key of the second one (Id) was also the Foreign Key for the first one. When I removed the association, the key icon was not removed from the property (see the attached image, the parent table is Incident, the child is Escape). Checking the model I saw that the isForeignKeyFor property had a value which was not pointing to anything in the model. When I replaced it with "00000-00..." the key icon disappeared.

Best,
Alex
IncidentEscape

@msawczyn msawczyn added the bug Something isn't working label Oct 9, 2022
@msawczyn msawczyn modified the milestones: 4.2.2, 4.2.3 Oct 9, 2022
@msawczyn msawczyn modified the milestones: 4.2.3, 4.2.2 Oct 9, 2022
@msawczyn msawczyn added the pending release Issue is resolved in the current codebase, will be published with the next release label Oct 9, 2022
@msawczyn
Copy link
Owner

msawczyn commented Oct 9, 2022

Fixed in 4.2.2

@msawczyn msawczyn modified the milestones: 4.2.2, 4.2.3 Mar 30, 2023
@msawczyn msawczyn added released Issue is resolved in a current release and removed pending release Issue is resolved in the current codebase, will be published with the next release labels Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released Issue is resolved in a current release
Projects
None yet
Development

No branches or pull requests

2 participants