projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4160dd
)
add missing indexes to rampage_tagged
author
Chuck Hagenbuch
<chuck@horde.org>
Wed, 13 Jan 2010 02:59:44 +0000
(21:59 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Wed, 13 Jan 2010 04:32:04 +0000
(23:32 -0500)
content/migrations/2_rampage_tag_tables.php
patch
|
blob
|
history
diff --git
a/content/migrations/2_rampage_tag_tables.php
b/content/migrations/2_rampage_tag_tables.php
index
c1638de
..
8f3d90d
100644
(file)
--- a/
content/migrations/2_rampage_tag_tables.php
+++ b/
content/migrations/2_rampage_tag_tables.php
@@
-19,6
+19,10
@@
class RampageTagTables extends Horde_Db_Migration_Base
$t->column('created', 'datetime');
$t->end();
+ $this->addIndex('rampage_tagged', array('object_id'), array('name' => 'rampage_tagged_object_id'));
+ $this->addIndex('rampage_tagged', array('tag_id'), array('name' => 'rampage_tagged_tag_id'));
+ $this->addIndex('rampage_tagged', array('created'), array('name' => 'rampage_tagged_created'));
+
// rampage_tag_stats
$t = $this->createTable('rampage_tag_stats', array('primaryKey' => 'tag_id'));