SQL definition of new field cache_rating.rating_date

This commit is contained in:
Oliver 2012-09-12 21:13:44 +02:00
parent 5d089fbf2e
commit b2022b9cf3

View File

@ -3,6 +3,8 @@ DROP TABLE IF EXISTS `cache_rating`;
CREATE TABLE `cache_rating` (
`cache_id` int(10) unsigned NOT NULL,
`user_id` int(10) unsigned NOT NULL,
`rating_date` datetime NOT NULL,
PRIMARY KEY (`cache_id`,`user_id`),
KEY `user_id` (`user_id`,`cache_id`)
KEY `user_id` (`user_id`,`cache_id`),
KEY `date` (`rating_date`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;