wrong column

git-svn-id: file:///home/shish/svn/shimmie2/trunk@544 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-10-21 22:45:12 +00:00
parent a2551cf3eb
commit 8719156d61

View File

@ -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,