Skip to content

Commit 7bf71ce

Browse files
committed
Remove UuidBinary/UlidBinary usages from documentation
1 parent 5aab8e3 commit 7bf71ce

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

components/uid.rst

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ UUID objects created with the ``Uuid`` class can use the following methods
115115
Storing UUIDs in Databases
116116
~~~~~~~~~~~~~~~~~~~~~~~~~~
117117

118-
You can store UUID values as any other regular string/binary values in the database.
118+
You can store UUID values as any other regular string values in the database.
119119
However, if you :doc:`use Doctrine </doctrine>`, it's more convenient to use the
120120
special Doctrine types which convert to/from UUID objects automatically::
121121

@@ -134,14 +134,13 @@ special Doctrine types which convert to/from UUID objects automatically::
134134
*/
135135
private $someProperty;
136136

137-
/**
138-
* @ORM\Column(type="uuid_binary")
139-
*/
140-
private $anotherProperty;
141-
142137
// ...
143138
}
144139

140+
.. versionadded:: 5.2
141+
142+
The UuidBinary type has been removed in Symfony 5.2.
143+
145144
There's also a Doctrine generator to help autogenerate UUID values for the
146145
entity primary keys::
147146

@@ -260,7 +259,7 @@ ULID objects created with the ``Ulid`` class can use the following methods::
260259
Storing ULIDs in Databases
261260
~~~~~~~~~~~~~~~~~~~~~~~~~~
262261

263-
You can store ULID values as any other regular string/binary values in the database.
262+
You can store ULID values as any other regular string values in the database.
264263
However, if you :doc:`use Doctrine </doctrine>`, it's more convenient to use the
265264
special Doctrine types which convert to/from ULID objects automatically::
266265

@@ -279,14 +278,13 @@ special Doctrine types which convert to/from ULID objects automatically::
279278
*/
280279
private $someProperty;
281280

282-
/**
283-
* @ORM\Column(type="ulid_binary")
284-
*/
285-
private $anotherProperty;
286-
287281
// ...
288282
}
289283

284+
.. versionadded:: 5.2
285+
286+
The UlidBinary type has been removed in Symfony 5.2.
287+
290288
There's also a Doctrine generator to help autogenerate ULID values for the
291289
entity primary keys::
292290

0 commit comments

Comments
 (0)