summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index f22a6f2b5..4757d9b75 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -1316,6 +1316,13 @@ function system_schema() {
'not null' => TRUE,
'default' => '',
),
+ 'ssid' => array(
+ 'description' => "Unique key: Secure session ID. The value is generated by PHP's Session API.",
+ 'type' => 'varchar',
+ 'length' => 64,
+ 'not null' => FALSE,
+ 'default' => NULL,
+ ),
'hostname' => array(
'description' => 'The IP address that last used this session ID (sid).',
'type' => 'varchar',
@@ -1347,6 +1354,9 @@ function system_schema() {
'timestamp' => array('timestamp'),
'uid' => array('uid'),
),
+ 'unique keys' => array(
+ 'ssid' => array('ssid'),
+ ),
'foreign keys' => array(
'uid' => array('users' => 'uid'),
),