Skip to content

Commit

Permalink
Add docs for cakephp/cakephp#18114
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jan 1, 2025
1 parent a50715a commit f60cea1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions en/appendices/5-2-migration-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ Database

- ``JsonType::setDecodingOptions()`` was added. This method lets you define the
bitmask options used by ``json_encode()`` calls.
- The ``nativeuuid`` type was added. This type enables ``uuid`` columns to be
used in Mysql connections with MariaDB. In all other drivers, ``nativeuuid``
is an alias for ``uuid``.

ORM
---
Expand Down
6 changes: 6 additions & 0 deletions en/orm/database-basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,9 @@ uuid
binaryuuid
Maps to the UUID type if the database provides one, otherwise this will
generate a ``BINARY(16)`` column
nativeuuid
Maps to the UUID type in MySQL with MariaDb. In all other databases,
``nativeuuid`` is an alias for ``uuid``.
integer
Maps to the ``INTEGER`` type provided by the database. BIT is not yet supported
at this moment.
Expand Down Expand Up @@ -423,6 +426,9 @@ handles, and generate file handles when reading data.
The ``geometry``, ``point``, ``linestring``, and ``polygon`` types were
added.

.. versionchanged:: 5.2.0
The ``nativeuuid`` type was added.

.. _datetime-type:

DateTime Type
Expand Down

0 comments on commit f60cea1

Please sign in to comment.