M2.4.4: Error while running setup upgrade

Created by Esther Nguyen, Modified on Thu, 2 Jan at 10:17 AM by Esther Nguyen

ISSUE:


While installing the extension, I've got the below error while running setup upgrade.


Column definition "incrementId" and reference column definition "increment_id" are different in tables "bss_checkout_attribute_order_grid_view" and "sales_order"


In addition to my previous comment, the issue is related to bsscommerce/checkoutcustomfield module, after removing this module all the commands (php bin/magento s:up) are running fine.


SOLUTION:


The Column increment_id of the sale_order table at M2.4.4 has type varchar(32), and only update to varchar(50) from M2.4.5.


To resolve the issue, please edit the file app/code/Bss/CheckoutCustomField/etc/db_schema.xml as below: 



If you need any further assistance, please feel free to contact us. We'd be happy to support you!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article