[SESSION] Session ID can be as long as 128 characters

This commit is contained in:
Alexei Sorokin 2020-08-17 13:58:19 +03:00 committed by Diogo Peralta Cordeiro
parent ddc3371b43
commit ed68659ece

View File

@ -58,7 +58,7 @@ class Session extends Managed_DataObject
{ {
return [ return [
'fields' => [ 'fields' => [
'id' => ['type' => 'varchar', 'length' => 32, 'not null' => true, 'description' => 'session ID'], 'id' => ['type' => 'varchar', 'length' => 128, 'not null' => true, 'description' => 'session ID'],
'session_data' => ['type' => 'text', 'description' => 'session data'], 'session_data' => ['type' => 'text', 'description' => 'session data'],
'created' => ['type' => 'datetime', 'description' => 'date this record was created'], 'created' => ['type' => 'datetime', 'description' => 'date this record was created'],
'modified' => ['type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'], 'modified' => ['type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'],