Skip to content

[BUG] Adding djangocms-versioning after updating to djangocms-snippet 5 breaks migrations #183

Open
@k-kramer

Description

@k-kramer

Hi i had installed djangocms_history.
But its outdatetd.
So i wanted install djangocms_version but i get this Error Message :

django.db.migrations.exceptions.InconsistentMigrationHistory: Migration djangocms_snippet.0010_cms4_grouper_version_data_migration is applied before its dependency djangocms_versioning.0015_version_modified on database 'default'.

So that means snippets were running until 0015

Versions i have installed
Python 3.11.*
Django 4.2.*
Django-cms 4.1.*
...

I nearly spend two days with trying --fake migrations and deleting migrations in the django table. But its more trial and Error.

Is there a way to get a halfway clean (migration) structure again or remigrate again ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions