Skip to content

Migration bug "Nonexistent parent node" #235

@Josiah-J

Description

@Josiah-J

I installed django-recurrence v1.10.3 for an app I'm developing with Python 3.7.3. All is fine when I run the application locally on my dev machine, however when I deploy the application and run migrations I get the following error:

django.db.migrations.exceptions.NodeNotFoundError: Migration sg_excitation_mgmt.0001_initial dependencies reference nonexistent parent node ('recurrence', '0002_auto_20220930_1640')

I know why this is happening. It is happening because the migration on my app references a migration on the django-recurrence package which is nonexistent. But shouldn't all migrations already exist when I install django-recurrence with pip?

How do I fix this? Thanks

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