projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30f4c4d
)
Added composite index for modification log
author
Alexander Ebert
<ebert@woltlab.com>
Sun, 11 Dec 2016 21:53:52 +0000
(22:53 +0100)
committer
Alexander Ebert
<ebert@woltlab.com>
Sun, 11 Dec 2016 21:54:43 +0000
(22:54 +0100)
wcfsetup/setup/db/install.sql
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/setup/db/install.sql
b/wcfsetup/setup/db/install.sql
index 14e6da404869c19ef2d6de9a4462fd423bb53ae5..542e00ab22529c7924611806c3f4c13eb223a3ab 100644
(file)
--- a/
wcfsetup/setup/db/install.sql
+++ b/
wcfsetup/setup/db/install.sql
@@
-706,7
+706,9
@@
CREATE TABLE wcf1_modification_log (
username VARCHAR(255) NOT NULL DEFAULT '',
time INT(10) NOT NULL DEFAULT 0,
action VARCHAR(80) NOT NULL,
- additionalData MEDIUMTEXT
+ additionalData MEDIUMTEXT,
+
+ KEY objectTypeAndID (objectTypeID, objectID)
);
DROP TABLE IF EXISTS wcf1_notice;