From 39f00707ac64558c882fb3df30adb666049b6295 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Mon, 24 Nov 2008 05:03:52 +0000 Subject: Add the creation of tags to the scaffolding code --- modules/tag/helpers/tag_installer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/tag/helpers') 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); } -- cgit v1.2.3