cakephp / cakephp/phinx

Native uuid type for mariadb

Open
#2,256 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
PHP
Stars
4.5k
Forks
884
PR merge metrics
No merged PRs in 30d

Description

mariadb has a native uuid type since 10.7. We already have:

  • uuid -> char(36)
  • binaryuuid -> binary(16)

Can we also add a "nativeuuid" type? In terms of PDO it's string so it can be easily supported in cake as well.

What do you think?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named in the issue. Start by locating the existing uuid and binaryuuid type definitions and the MariaDB platform handling, then check how MariaDB 10.7 native UUID columns are represented through PDO. Done means a nativeuuid type is supported without changing the existing uuid or binaryuuid mappings, with relevant tests passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
mariadb, php
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.