Open pooja-narwade opened 1 year ago
Is this potentially related to #124?
Does django-robots 6.0 or 6.1 resolve this?
@pooja-narwade Is this still an issue in django-robots 6.0? Does this apply to master
as it is now?
I think - it may be this PR was made after a fix was merged to master and 6.0b0 was prereleased, but before 6.0 was released:
via django-robots' release history.
Maybe this PR is helpful based on where 5.0 was, but in this circumstance master may already have overcame the issue by that time. What do you think?
django-robots version 5.0 I am using above version of django-robots. When database is SQLite, things are working fine but when the database is MySQL, it gives following error while running migrate command.
Error: django.db.utils.OperationalError: (3780, "Referencing column 'rule_id' and referenced column 'id' in foreign key constraint 'robots_rule_sites_rule_id_7921a799_fk_robots_rule_id' are incompatible.")
I investigate and figure out that the BigAutoField is causing the problem.