#111104Default schema for uuid does not allow an empty string for required=false
Description
With #103141 the default db schema has been changes from Types::STRING to Types::GUID.
An empty string therefore is not valid anymore.
For
'uuid_notrequired' => [
'config' => [
'type' => 'uuid',
'required' => false,
],
],
DataHandler tries to write an empty string. This leads to a database error.
The default schema should only use Types::GUID, if required = false.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Default schema for uuid does not allow an empty string for required=false Resolves: #111104 Releases: main