From d70ddea08caef202be16a3e399564d5080fc6b5c Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sun, 08 Apr 2007 09:21:24 -0400 Subject: [PATCH] Fixed check for new messages (closes #1484310) --- SQL/mysql5.initial.sql | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/SQL/mysql5.initial.sql b/SQL/mysql5.initial.sql index 24e1431..ae155e1 100644 --- a/SQL/mysql5.initial.sql +++ b/SQL/mysql5.initial.sql @@ -55,7 +55,7 @@ PRIMARY KEY(`message_id`), INDEX `idx`(`idx`), INDEX `uid`(`uid`), - UNIQUE `uniqueness` (`cache_key`, `uid`), + UNIQUE `uniqueness` (`user_id`, `cache_key`, `uid`), CONSTRAINT `User_ID_FK_messages` FOREIGN KEY (`user_id`) REFERENCES `users`(`user_id`) ON DELETE CASCADE @@ -114,6 +114,7 @@ `reply-to` varchar(128) NOT NULL, `bcc` varchar(128) NOT NULL, `signature` text NOT NULL, + `html_signature` tinyint(1) NOT NULL DEFAULT '0', `user_id` int(10) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY(`identity_id`), CONSTRAINT `User_ID_FK_identities` FOREIGN KEY (`user_id`) @@ -123,4 +124,4 @@ ) TYPE=MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci; -SET FOREIGN_KEY_CHECKS=1; \ No newline at end of file +SET FOREIGN_KEY_CHECKS=1; -- Gitblit v1.9.1