Closed Aiky30 closed 3 months ago
I tried installing djangocms-moderation
with this fork but the migrations fail for an initial setup of the database.
I don't know if it's a problem with this fork (i.e. with this changes mysql 8 is possible) or a general error also occuring with mysql 5 (= django 4.1):
ValueError: The database backend does not accept 0 as a value for AutoField.
This occurs from migration djangocms_moderation.0003_auto_20180903_1206
which provided a one-off-default for a ForeignKey with the value 0
.
I tried installing
djangocms-moderation
with this fork but the migrations fail for an initial setup of the database. I don't know if it's a problem with this fork (i.e. with this changes mysql 8 is possible) or a general error also occuring with mysql 5 (= django 4.1):ValueError: The database backend does not accept 0 as a value for AutoField.
This occurs from migration
djangocms_moderation.0003_auto_20180903_1206
which provided a one-off-default for a ForeignKey with the value0
.
Just tried it with installing django = 4.1
- same error. I'll create a new issue für this.
This change has been superseded by: https://github.com/django-cms/djangocms-moderation/pull/262
What does this PR do?
Remaining issues to fix: