summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-24 05:03:52 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-24 05:03:52 +0000
commit39f00707ac64558c882fb3df30adb666049b6295 (patch)
tree82f4dbf2a4be89c13139bcb91467868d448bb5f3 /modules
parente85282b709708c2be6ec5eb70ba5942167ff583b (diff)
Add the creation of tags to the scaffolding code
Diffstat (limited to 'modules')
-rw-r--r--modules/tag/helpers/tag_installer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tag/helpers/tag_installer.php b/modules/tag/helpers/tag_installer.php
index de67bf08..6673ffcc 100644
--- a/modules/tag/helpers/tag_installer.php
+++ b/modules/tag/helpers/tag_installer.php
@@ -36,8 +36,8 @@ class tag_installer {
`item_id` int(9) NOT NULL,
`tag_id` int(9) NOT NULL,
PRIMARY KEY (`id`),
- KEY(`tag_id`),
- KEY(`item_id`))
+ KEY(`tag_id`, `id`),
+ KEY(`item_id`, `id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
module::set_version("tag", 1);
}