From c1d42fb267d896ca1d6c534f6f586e54a72d884c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 13 Apr 2004 18:07:02 +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 e39267ef499..e5f5b9d84ca 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -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; }