-
Notifications
You must be signed in to change notification settings - Fork 399
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
Removing required
constraint on link fails to create migration
#4371
Comments
This appears more complicated than the above; just made the same change on another
Both required links were originally created the same way. From the original migration,
The only difference I see is that the target of the failing link is abstract. |
I was unable to reproduce this issue while doing the obvious thing, so there must be something more subtle going on that is triggering this for you. |
Attempted to reproduce more cleanly here. Unfortunately my theory it was due to |
Found it!! Making the following change to remove the computed backlink for this relationship allowed the removal of
|
Great! Do you have a small reproducing case you can share, then? |
Yup live here - https://github.com/jackfischer/edgedb-4371, |
(Follow up from discord)
Steps to Reproduce:
required
constraint on a link, making it optional.Schema:
The text was updated successfully, but these errors were encountered: