DataObjects/core.sql
authorAlan Knowles <alan@roojs.com>
Mon, 19 Aug 2013 06:52:01 +0000 (14:52 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 19 Aug 2013 06:52:01 +0000 (14:52 +0800)
DataObjects/core.sql

index 51961fe..7de39cf 100644 (file)
@@ -427,6 +427,7 @@ ALTER TABLE core_notify CHANGE COLUMN bounced event_id INT(11) NOT NULL DEFAULT
 ALTER TABLE core_notify ADD   INDEX lookup(act_when, msgid);
 ALTER TABLE core_notify ADD   INDEX lookup_a(onid, ontable, person_id, act_when, msgid, to_email);  
 alter table core_notify add   INDEX lookup_b (sent, person_id, msgid, ontable);
 ALTER TABLE core_notify ADD   INDEX lookup(act_when, msgid);
 ALTER TABLE core_notify ADD   INDEX lookup_a(onid, ontable, person_id, act_when, msgid, to_email);  
 alter table core_notify add   INDEX lookup_b (sent, person_id, msgid, ontable);
+ALTER TABLE core_notify add   index lookup_d (person_id, msgid, ontable);