summaryrefslogtreecommitdiffstats
path: root/database
diff options
context:
space:
mode:
authorDries Buytaert2004-04-13 18:07:02 (GMT)
committerDries Buytaert2004-04-13 18:07:02 (GMT)
commitc1d42fb267d896ca1d6c534f6f586e54a72d884c (patch)
tree07501ee57e2b147cb98d8c2e491154dc292fb130 /database
parent610ad02ea7ae884d34d1cfc7f16338c4910ab55d (diff)
- Patch #7121 by Adrian: added missing PostgreSQL update function.
Diffstat (limited to 'database')
-rw-r--r--database/updates.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/database/updates.inc b/database/updates.inc
index e39267e..e5f5b9d 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;
}