labd / django-oscar-wagtail

Wagtail integration for Oscar Commerce (or Oscar Commerce integration for Wagtail?)
MIT License
100 stars 33 forks source link

Migrate problem #6

Open deguotaoma opened 7 years ago

deguotaoma commented 7 years ago

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

deguotaoma commented 7 years ago

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'")

jellehermsen commented 7 years ago

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.