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

deleting both a lookup list and the related fk_ft field raises an error on migrations #1660

Open
fredkingham opened this issue Dec 14, 2018 · 0 comments

Comments

@fredkingham
Copy link
Contributor

fredkingham commented Dec 14, 2018

To reproduce:
Create a subrecord that related fk_or_ft field to a new lookup list.

create migrations.

delete the fk_or_ft field and the lookup list.

makemigrations/migrate will raise an error.

I assume this is due to this logic https://github.com/openhealthcare/opal/blob/v0.13.0/opal/core/fields.py#L95

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

No branches or pull requests

1 participant