phinx icon indicating copy to clipboard operation
phinx copied to clipboard

RFC: "nativeuuid" type for databases with native uuid support

Open nicosp opened this issue 1 year ago • 3 comments

This is to allow the use of the native uuid for mariadb 10.7+ users. For other database it's simply an alias to the existing uuid type. Sqlite is explicitly not supported because it doesnt have a native type.

Related Issue: https://github.com/cakephp/phinx/issues/2256

Note: To test this you need an to add 'nativeuuid' to Cake\Database\TypeFactory $_types.

Once this is accepted I can also do the change in CakePHP.

nicosp avatar May 27 '24 13:05 nicosp

@nicosp Phinx is now being separated standalone. To also port this into CakePHP (Migrations), this would also need a 2nd PR to https://github.com/cakephp/migrations

dereuromark avatar Dec 09 '24 10:12 dereuromark

@nicosp Phinx is now being separated standalone. To also port this into CakePHP (Migrations), this would also need a 2nd PR to https://github.com/cakephp/migrations

Ok, which branch should I target there?

nicosp avatar Dec 09 '24 14:12 nicosp

current one, so 4.x one is fine.

dereuromark avatar Dec 09 '24 15:12 dereuromark

Thanks for the PR!

MasterOdin avatar Nov 17 '25 20:11 MasterOdin