- Added index on cache.created + small fixes in mssql DDL script

This commit is contained in:
alecpl
2008-11-24 07:59:10 +00:00
parent ae9124d3a9
commit e4d9f05e41
8 changed files with 20 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ CREATE TABLE `cache` (
`created` datetime NOT NULL default '0000-00-00 00:00:00',
`data` longtext NOT NULL,
PRIMARY KEY (`cache_id`),
INDEX `created_index` (`created`),
INDEX `user_cache_index` (`user_id`,`cache_key`)
);