From 09fc3f3087cad8296e60c24e0b8e159374c20ec4 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 27 Oct 2008 06:53:56 -0400
Subject: [PATCH] -fix: mark as read (for read_when_deleted) only when moving messages to trash

---
 SQL/mysql.initial.sql |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/SQL/mysql.initial.sql b/SQL/mysql.initial.sql
index ec42073..c718942 100644
--- a/SQL/mysql.initial.sql
+++ b/SQL/mysql.initial.sql
@@ -119,6 +119,7 @@
   `headers` text NOT NULL,
   `structure` text,
   PRIMARY KEY (`message_id`),
+  INDEX `created_index` (`created`),
   UNIQUE `uniqueness` (`user_id`, `cache_key`, `uid`)
 );
 

--
Gitblit v1.9.1