Hi,
We have a enum field that we need to change to multiEnum. We saw this post to change the field type to varchar.
However, when adapting the same process to our field (enum to multiEnum) and rebuilding, an error occurs in the logs:
We are changing this:
To this:
Is there something missing?
Thanks!
We have a enum field that we need to change to multiEnum. We saw this post to change the field type to varchar.
However, when adapting the same process to our field (enum to multiEnum) and rebuilding, an error occurs in the logs:
Code:
ALERT: Rebuild database fault: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near
Code:
"cejasPuntaUsada": { "type": "enum", "required": false, "options": [ "", "1", "2", "3", "18" ], "style": { "1": null, "2": null, "3": null, "18": null, "": null }, "default": "", "isCustom": true },
Code:
"cejasPuntaUsada": { "type": "multiEnum", "storeArrayValues": true, "required": false, "options": [ "", "1", "2", "3", "18" ], "style": { "1": null, "2": null, "3": null, "18": null, "": null }, "isCustom": true },
Thanks!
Comment