wrong column
git-svn-id: file:///home/shish/svn/shimmie2/trunk@544 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
a2551cf3eb
commit
8719156d61
@ -71,7 +71,7 @@ class TextScore extends Extension {
|
|||||||
|
|
||||||
if($config->get_int("ext_text_score_version") < 1) {
|
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("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("
|
$database->Execute("
|
||||||
CREATE TABLE text_score_votes (
|
CREATE TABLE text_score_votes (
|
||||||
image_id INTEGER NOT NULL,
|
image_id INTEGER NOT NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user