Closed asuchalkin-space48 closed 2 years ago
Thank you for the details. This has been passed to our dev team for further analysis.
@asuchalkin-space48 if you are blocked by this issue, you can install version 20.45.7 and upgrade your database then install latest version.
20.45.7 is the most recent version before we introduced declarative schema installation. We'll also look to address this issue to handle the column type mismatch.
After upgrading Magento EE from version 2.3.4 to 2.4.4 and ShipperHQ module from 20.39.2 to 20.48.2 Magento throws error on setup:upgrade
The problem is that table shipperhq_quote_address_detail was created using setup php script and column quote_address_id was varchar. In new module version with declarative schema column is changed to int and added foreign key. For some reason Magento doesn't apply all table changes, just adding foreign key and fails.