8000 Changing field type in MySQL example · fabpot/symfony-docs@e772465 · GitHub
[go: up one dir, main page]

Skip to content

Commit e772465

Browse files
steveWinterxabbuh
authored andcommitted
Changing field type in MySQL example
It seems inconsistent that the MySQL table as the sess_id as VARBINARY, when the PostgeSQL and Microsoft SQL server use VARCHAR (which makes more sense to me)
1 parent 1bcc30f commit e772465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine/pdo_session_storage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ MySQL
218218
.. code-block:: sql
219219
220220
CREATE TABLE `sessions` (
221-
`sess_id` VARBINARY(128) NOT NULL PRIMARY KEY,
221+
`sess_id` VARCHAR(128) NOT NULL PRIMARY KEY,
222222
`sess_data` BLOB NOT NULL,
223223
`sess_time` INTEGER UNSIGNED NOT NULL,
224224
`sess_lifetime` MEDIUMINT NOT NULL

0 commit comments

Comments
 (0)
0