From 8719156d61a331908e42ded6d3d430eb68b0e6d7 Mon Sep 17 00:00:00 2001 From: shish Date: Sun, 21 Oct 2007 22:45:12 +0000 Subject: [PATCH] wrong column git-svn-id: file:///home/shish/svn/shimmie2/trunk@544 7f39781d-f577-437e-ae19-be835c7a54ca --- contrib/text_score/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/text_score/main.php b/contrib/text_score/main.php index 9070126f..06081a8e 100644 --- a/contrib/text_score/main.php +++ b/contrib/text_score/main.php @@ -71,7 +71,7 @@ class TextScore extends Extension { if($config->get_int("ext_text_score_version") < 1) { $database->Execute("ALTER TABLE images ADD COLUMN text_score INTEGER NOT NULL DEFAULT 0"); - $database->Execute("CREATE INDEX images__text_score ON images(numeric_score)"); + $database->Execute("CREATE INDEX images__text_score ON images(text_score)"); $database->Execute(" CREATE TABLE text_score_votes ( image_id INTEGER NOT NULL,