diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-04-13 18:04:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-04-13 18:04:36 +0000 |
commit | 57f52eb93c50156800a2de6ae06a5798a25679b9 (patch) | |
tree | ba0af2e8385043330e215a493a74b1961e99e3cf | |
parent | 9abcd206d97c7de3554736918571daf81c0b839a (diff) | |
download | brdo-57f52eb93c50156800a2de6ae06a5798a25679b9.tar.gz brdo-57f52eb93c50156800a2de6ae06a5798a25679b9.tar.bz2 |
- Patch #7121 by Adrian: added missing PostgreSQL update function.
-rw-r--r-- | database/updates.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/database/updates.inc b/database/updates.inc index f5ddfc7fb..26f4da7ab 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; } |