django-oscar-wagtail icon indicating copy to clipboard operation
django-oscar-wagtail copied to clipboard

Migrate problem

Open deguotaoma opened this issue 7 years ago • 2 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

deguotaoma avatar May 20 '17 12:05 deguotaoma

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

deguotaoma avatar May 20 '17 13:05 deguotaoma

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.

jellehermsen avatar May 31 '17 13:05 jellehermsen