M2.4.4: Error while running setup upgrade

Created by Esther Nguyen, Modified on Sun, 19 Apr at 1:46 AM by Support Agent

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!


About us


BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.


Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.


Discover our extensions: https://bsscommerce.com/magento-2-extensions.html 


If you want to find the best solution for your website, here are our top tier plugins:

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