projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad29236
)
DataObjects/core.sql
author
Alan Knowles
<alan@roojs.com>
Mon, 9 Jul 2012 05:20:07 +0000
(13:20 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 9 Jul 2012 05:20:07 +0000
(13:20 +0800)
DataObjects/core.sql
patch
|
blob
|
history
diff --git
a/DataObjects/core.sql
b/DataObjects/core.sql
index
27e871d
..
754065c
100644
(file)
--- a/
DataObjects/core.sql
+++ b/
DataObjects/core.sql
@@
-85,6
+85,10
@@
ALTER TABLE Events ADD INDEX lookupf (on_id, action, on_table, person_id, event_
ALTER TABLE Events ADD INDEX lookuppt ( person_table);
+ALTER TABLE Events ADD INDEX lookup_when( person_id, event_id );
+
+
+
CREATE TABLE core_event_audit (
id int(11) NOT NULL AUTO_INCREMENT,