labd / django-oscar-wagtail

Wagtail integration for Oscar Commerce (or Oscar Commerce integration for Wagtail?)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Migrate problem

deguotaoma opened this issue · comments

wenn i use django-oscar-wagtail to migrate my exists oscar project i get this error.
i first run makemigrations command, and then migrate i get this error
django.db.utils.OperationalError: (1091, "Can't DROP 'depth'; check that column/key exists")

can you tell me how to fix it, thx

how can i integrate django-oscar-wagtail into exists project?

django.db.utils.OperationalError: (1829, "Cannot drop column 'id': needed in a foreign key constraint 'catalogue__category_id_62892d4b1ea04730_fk_catalogue_category_id' of table 'myshop_db.catalogue_productcategory'")

I think the guys from Lab Digital will need some more info to locate your problem. Which version of Oscar/Django are you using? At UWKM we have a couple of sites where we implemented this package without any problems. I might be able to help if you can provide a little more info.