From 609d3923d7dc674263ddea990387dbf5488fabc6 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sun, 18 Sep 2011 09:02:35 +0000 Subject: - Cache synchronization using QRESYNC/CONDSTORE - Fixed message ID updates in cache - Changed message flags handling + some fixes (e.g. fixed messages listing after delete) --- SQL/mysql.update.sql | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'SQL/mysql.update.sql') diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql index fee18d640..7e8f98f03 100644 --- a/SQL/mysql.update.sql +++ b/SQL/mysql.update.sql @@ -201,12 +201,7 @@ CREATE TABLE `cache_messages` ( `uid` int(11) UNSIGNED NOT NULL DEFAULT '0', `changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00', `data` longtext NOT NULL, - `seen` tinyint(1) NOT NULL DEFAULT '0', - `deleted` tinyint(1) NOT NULL DEFAULT '0', - `answered` tinyint(1) NOT NULL DEFAULT '0', - `forwarded` tinyint(1) NOT NULL DEFAULT '0', - `flagged` tinyint(1) NOT NULL DEFAULT '0', - `mdnsent` tinyint(1) NOT NULL DEFAULT '0', + `flags` int(11) NOT NULL DEFAULT '0', CONSTRAINT `user_id_fk_cache_messages` FOREIGN KEY (`user_id`) REFERENCES `users`(`user_id`) ON DELETE CASCADE ON UPDATE CASCADE, INDEX `changed_index` (`changed`), -- cgit v1.2.3