-
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
[DB Schema] Cannot change column type in some cases #38798
Comments
Hi @Nuranto. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-November. Thank you for working on this issue.
|
Hello @Nuranto, Thank you for the report and collaboration! Verified this on 2.4-develop.
Hence confirming this issue. |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-12169 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-November. Thank you for verifying the issue. |
when can we expect a fix for this? |
Summary
Changing a column type when old type uses length, and new one doesn't is currently impossible.
Examples
This :
will give
Element 'column', attribute 'length': The attribute 'length' is not allowed.
errorProposed solution
This error has already been reported here : #26155
But the fix was to change the original type, instead of fixing the issue. However, I won't complain of such solution for my case :)
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: