- Patch #7121 by Adrian: added missing PostgreSQL update function.

4.5.x
Dries Buytaert 2004-04-13 18:04:36 +00:00
parent 9abcd206d9
commit 57f52eb93c
1 changed files with 5 additions and 1 deletions

View File

@ -750,7 +750,11 @@ function update_78() {
)");
}
else {
/* Needs PostgreSQL equivalent */
$ret[] = update_sql("CREATE TABLE {filters} (
module varchar(64) NOT NULL DEFAULT '',
weight smallint NOT NULL DEFAULT 0
);");
$ret[] = update_sql("CREATE INDEX {filters_weight} ON {filters} (weight);");
}
return $ret;
}