summaryrefslogtreecommitdiff
path: root/SQL/mysql5.initial.sql
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-11-24 07:59:10 +0000
committeralecpl <alec@alec.pl>2008-11-24 07:59:10 +0000
commite4d9f05e4126501ce329fc4c36704375f6dfe681 (patch)
treecb676b255788ddadead29dc86db32a187da5a520 /SQL/mysql5.initial.sql
parentae9124d3a92e2fd1d507d9dcba49209463391ad7 (diff)
- Added index on cache.created + small fixes in mssql DDL script
Diffstat (limited to 'SQL/mysql5.initial.sql')
-rw-r--r--SQL/mysql5.initial.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/SQL/mysql5.initial.sql b/SQL/mysql5.initial.sql
index b162e4ddf..54dee1dba 100644
--- a/SQL/mysql5.initial.sql
+++ b/SQL/mysql5.initial.sql
@@ -73,6 +73,7 @@ CREATE TABLE `cache` (
`data` longtext NOT NULL,
`user_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY(`cache_id`),
+ INDEX `created_index` (`created`),
INDEX `user_cache_index` (`user_id`,`cache_key`),
CONSTRAINT `user_id_fk_cache` FOREIGN KEY (`user_id`)
REFERENCES `users`(`user_id`)