Skip to content

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

@fredkingham

Description

@fredkingham

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions