-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
18615 updates structure for last_trans_id to be varchar 255 which is … #18621
18615 updates structure for last_trans_id to be varchar 255 which is … #18621
Conversation
…inline with klarna_core_order order_id and amazon_sales_order amazon_order_reference_id. Limit was 32 characters where as a klarna_order reference is 36 characters at present.
Hi @iancassidyweb. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@@ -2007,7 +2007,7 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con | |||
)->addColumn( | |||
'last_trans_id', | |||
\Magento\Framework\DB\Ddl\Table::TYPE_TEXT, | |||
32, | |||
255, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should go in an upgrade script with a version bump. Leaving this change here will only make it work for new installs and won't be reflected if anyone already installed M2 and is upgrading.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. will update at weekend.
Moved to upgrade schema and bumped module version
@miguelbalparda I got the following error from Codacy "Codacy/PR Quality Review — Codacy was unable to analyse your pull request." Let me know if you need anything else. Ian |
Codacy seems to be disabled for 2.2. I'll check this internally, thanks for the heads up! |
Hi @miguelbalparda, thank you for the review. |
Hi @iancassidyweb. Thank you for your contribution. Please, consider to port this solution to 2.3 release line. |
Description (*)
Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)