Skip to content
Commit b4459dac authored by Igor Balden's avatar Igor Balden
Browse files

Update session.rst - SQL statement correction.

The wrong Sql statement:
CREATE TABLE `sessions` (
      `id` varchar(255) NOT NULL DEFAULT '',
      `data` VARBINARY, -- or BYTEA for PostgreSQL
      `expires` int(11) DEFAULT NULL,
      PRIMARY KEY (`id`)
    );

The data type for 'data' field is wrong, and it's not working. Bellow is the right Sql statement
 CREATE TABLE `sessions` (
      `id` varchar(255) NOT NULL DEFAULT '',
      `data` BLOB, -- or BYTEA for PostgreSQL
      `expires` int(11) DEFAULT NULL,
      PRIMARY KEY (`id`)
    );
parent 5102a896
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment