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
Foreign key deadlock with customer.billing_address_id #7063
Comments
We could remove the For 1.*, this requires a few changes. We likely won't fix it in the near term. If this is proving to be a huge pain for you, you are more than welcome to send a PR for it. |
Not a pain for me, just wanted to raise the point. Wait, there's a 2.0 coming out ? When's that happening ? |
Aw, okay found this. Btw @olivermrbl I PMed you on X ;) |
Must have missed this, will check it! |
Release candidate is expected in ~1 month. |
Can't wait ! |
Given our upcoming 2.0 release, I will label this as a wont-fix. I'll gladly reopen the issue if something is experiencing issues with this. |
Bug report
Describe the bug
Field
billing_address_id
in tablecustomer
is not referenced in theCustomer
model. Also, it has a foreign keyFK_8abe81b9aac151ae60bf507ad15
onaddress.id
which creates a dealock with foreign keyFK_9c9614b2f9d01665800ea8dbff7
fromaddress.customer_id
which points tocustomer.id
.System information
Medusa version (including plugins): "@medusajs/medusa": "1.20.2",
Steps to reproduce the behavior
Expected behavior
Column
billing_address_id
should either be dropped, or referenced in theCustomer
model.Screenshots
Code snippets
Additional context
The text was updated successfully, but these errors were encountered: