From 8362604ddc36b4347151d34e0c3324f2d7789e8a Mon Sep 17 00:00:00 2001 From: Steve Winter Date: Sat, 3 Dec 2016 18:28:58 +0100 Subject: [PATCH] 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) --- doctrine/pdo_session_storage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine/pdo_session_storage.rst b/doctrine/pdo_session_storage.rst index 0e2c923d5d9..a66a0ad294f 100644 --- a/doctrine/pdo_session_storage.rst +++ b/doctrine/pdo_session_storage.rst @@ -189,7 +189,7 @@ MySQL .. code-block:: sql CREATE TABLE `sessions` ( - `sess_id` VARBINARY(128) NOT NULL PRIMARY KEY, + `sess_id` VARCHAR(128) NOT NULL PRIMARY KEY, `sess_data` BLOB NOT NULL, `sess_time` INTEGER UNSIGNED NOT NULL, `sess_lifetime` MEDIUMINT NOT NULL