-
Notifications
You must be signed in to change notification settings - Fork 12
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
Table tx_dpf_domain_model_documenttype can't be created in MySQL 5.7 because 'virtual' is now reserved #110
Comments
Solution would be to rename the model field What do think, @haogatyp? |
I would suggest to rename it into type_abstract. |
What happens to existing data when renaming the field? |
The database field is also renamed. When updating the extension, the migration of the field must then be initiated via Installation Tool->Database compare (Alter Table). If this is not possible, a separate update script must be developed. |
In the Fedora repository, the field should certainly not be renamed, so you do not have to migrate. Therefore, it might be better to change the field in TYPO3 to type_virtual. So it remains traceable in the code, regarding the interface between TYPO3 and repository. |
TYPO3 database analyzer tool option does not seem to be very helpful:
|
I consider MySQL 5.7 support an enhancement. Given the necessary code changes and data migration issues it's actually not an easy fix to do. |
Suggestion:
|
@haogatyp Can we address this issue now for 4.x and later provide migration for 3.x branches? |
Yes, this should be possible. |
MySQL added
virtual
as reserved word in version 5.7.6. In effect, the tabletx_dpf_domain_model_documenttype
can't be created via extension installation from this version on.EDIT:
https://dev.mysql.com/doc/refman/5.7/en/keywords.html#keywords-5-7-detailed-V
VIRTUAL (R); added in 5.7.6 (reserved)
The text was updated successfully, but these errors were encountered: