summaryrefslogtreecommitdiff
path: root/SQL/mysql.initial.sql
diff options
context:
space:
mode:
Diffstat (limited to 'SQL/mysql.initial.sql')
-rw-r--r--SQL/mysql.initial.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/SQL/mysql.initial.sql b/SQL/mysql.initial.sql
index c71894257..07f127cce 100644
--- a/SQL/mysql.initial.sql
+++ b/SQL/mysql.initial.sql
@@ -73,7 +73,8 @@ CREATE TABLE `session` (
`changed` datetime NOT NULL default '0000-00-00 00:00:00',
`ip` VARCHAR(40) NOT NULL default '',
`vars` text NOT NULL,
- PRIMARY KEY (`sess_id`)
+ PRIMARY KEY (`sess_id`),
+ INDEX `changed_index` (`changed`)
);
-- --------------------------------------------------------