DataObjects/core.sql
authorAlan Knowles <alan@roojs.com>
Thu, 22 Aug 2013 03:36:50 +0000 (11:36 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 22 Aug 2013 03:36:50 +0000 (11:36 +0800)
DataObjects/core.sql

index a17900f..873dc3a 100644 (file)
@@ -231,6 +231,7 @@ alter table Person change email email varchar(254) NOT NULL DEFAULT '';
 
 ALTER TABLE Person ADD INDEX lookup_a(email, active);
 ALTER TABLE Person ADD INDEX lookup_b(email, active, company_id);
+alter table Person add index lookup_owner(owner_id);