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

Cannot drop constraint because other objects depend on it #27

Open
godd0t opened this issue Sep 16, 2021 · 0 comments
Open

Cannot drop constraint because other objects depend on it #27

godd0t opened this issue Sep 16, 2021 · 0 comments

Comments

@godd0t
Copy link

godd0t commented Sep 16, 2021

django.db.utils.InternalError: cannot drop constraint shop_order_pkey on table shop_order because other objects depend on it

DETAIL: constraint shop_reviews_order_id_e2796d7b_fk_shop_order_id on table shop_reviews depends on index shop_order_pkey
constraint shop_orderitems_order_id_f7d02868_fk_shop_order_id on table shop_orderitems depends on index shop_order_pkey

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

1 participant