Skip to content

SQL error updating from 20.47.1 => 20.47.2 #112

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

Closed
pioneerathletics opened this issue Feb 24, 2022 · 3 comments
Closed

SQL error updating from 20.47.1 => 20.47.2 #112

pioneerathletics opened this issue Feb 24, 2022 · 3 comments

Comments

@pioneerathletics
Copy link

Magento version: 2.4.3-p1
MySQL version: 5.7

Hello,

I received this error after upgrading from 20.47.1 => 20.47.2 and running setup:upgrade:

Updating modules:
Cache cleared successfully
Schema creation/updates:
SQLSTATE[HY000]: General error: 1553 Cannot drop index 'SHIPPERHQ_ORDER_DETAIL_GRID_ORDER_ID': needed in a foreign key constraint, query was: ALTER TABLE shipperhq_order_detail_grid DROP KEY SHIPPERHQ_ORDER_DETAIL_GRID_ORDER_ID

Note: When I updated to 20.47.1 the other day I had no database issue. It was only updating from 20.47.1 to 20.47.2 where I encountered this.

Thanks

@ibraheemnabeelfauzi
Copy link

Hello @pioneerathletics ,

Many thanks for the details. We see the cause of the issue and we'll release a fix for it.

Can you please provide us with your company name?

@pioneerathletics
Copy link
Author

Hi @ibraheemnabeelfauzi,

I work for Pioneer Athletics and we use the ShipperHQ module on 3 of our websites. Looking forward to the fix for this. Thanks!

@wsajosh
Copy link
Contributor

wsajosh commented Feb 28, 2022

Hi @pioneerathletics Thanks for raising this! I've just released a new version which will address the issue. Please update and let us know if you hit any further issues.

@wsajosh wsajosh closed this as completed Feb 28, 2022
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

3 participants