Skip to content

relation "auditlog_logentry" does not exist #785

@kairkhan713

Description

@kairkhan713
django       |   File "/usr/local/lib/python3.12/site-packages/django/db/utils.py", line 91, in __exit__
django       |     raise dj_exc_value.with_traceback(traceback) from exc_value
django       |   File "/usr/local/lib/python3.12/site-packages/django/db/backends/utils.py", line 87, in _execute
django       |     return self.cursor.execute(sql)
django       |            ^^^^^^^^^^^^^^^^^^^^^^^^
django       | django.db.utils.ProgrammingError: relation "auditlog_logentry" does not exist

when migrating from v2.1.1 to 3.3.0 (because v2.1.1 raises "pkg_resources... setuptools81" depracation warning).
When migrating with existing db and existing objects. There was applied initial migration files.

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