From 57f52eb93c50156800a2de6ae06a5798a25679b9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 13 Apr 2004 18:04:36 +0000 Subject: [PATCH] - Patch #7121 by Adrian: added missing PostgreSQL update function. --- database/updates.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/database/updates.inc b/database/updates.inc index f5ddfc7fba5..26f4da7ab1b 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -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; }