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

4.4.x
Dries Buytaert 2004-04-13 18:07:02 +00:00
parent 610ad02ea7
commit c1d42fb267
1 changed files with 5 additions and 1 deletions

View File

@ -747,7 +747,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;
}