MariaDB native UUID support
Feature Request
| Q | A |
|---|---|
| New Feature | yes |
| BC Break | yes |
Summary
Hi, I just hear there is 4.0 beta, please don't forget that there is missing a native UUID support for MariaDB 10.7+ and it should be added into 4.0, because it's a BC break.
I'm using it like this https://github.com/Rixafy/SDK/blob/master/src/Doctrine/Platform/MariaDb1070Platform.php, long time ago I made a PR but it was problematic to generate migrations, because switching PKs is complex thing and I think when I last tried it, it didn't drop primary indexes, but I can provide my migration for changing PKs if needed, to provide it as template in the docs or something.
Another thing is that I need to extend MariaDb1027Platform (deprecated) instead of MariaDbPlatform because of this error https://github.com/doctrine/migrations/issues/1281 and I didn't have time provide a reproducer, but I think in dbal 4.0, it should work as expected, since default platform will be MariaDbPlatform, since old is deprecated, now when I try that new platform in 3.0, that error in migration appears, even when I don't extend it with UUID support.
Source: doctrine/dbal