Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate problem #6

Open
deguotaoma opened this issue May 20, 2017 · 2 comments
Open

Migrate problem #6

deguotaoma opened this issue May 20, 2017 · 2 comments

Comments

@deguotaoma
Copy link

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
Copy link
Author

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants