diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-04-30 09:08:09 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-04-30 09:08:09 +0200 |
commit | 0fa638399f310ae2e672e4c040692b2b207431b6 (patch) | |
tree | 898e014a2c2334b5dedecccb9e97c7db404a8ee6 /Zotlabs | |
parent | 873670594bdc0d5f5b5f0f14000a9afc3552270a (diff) | |
parent | e841e482589cfc8f9734e313350b6e2b78ea6940 (diff) | |
download | volse-hubzilla-0fa638399f310ae2e672e4c040692b2b207431b6.tar.gz volse-hubzilla-0fa638399f310ae2e672e4c040692b2b207431b6.tar.bz2 volse-hubzilla-0fa638399f310ae2e672e4c040692b2b207431b6.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Update/_1208.php | 2 | ||||
-rw-r--r-- | Zotlabs/Update/_1209.php | 2 | ||||
-rw-r--r-- | Zotlabs/Update/_1211.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Update/_1208.php b/Zotlabs/Update/_1208.php index 4cbcf4322..840252694 100644 --- a/Zotlabs/Update/_1208.php +++ b/Zotlabs/Update/_1208.php @@ -8,7 +8,7 @@ class _1208 { if(ACTIVE_DBTYPE == DBTYPE_POSTGRES) { $r1 = q("ALTER TABLE poll ADD poll_author text NOT NULL"); - $r2 = q("create index \"poll_author_idx\" on poll \"poll_author\""); + $r2 = q("create index \"poll_author_idx\" on poll (\"poll_author\") "); $r = ($r1 && $r2); } diff --git a/Zotlabs/Update/_1209.php b/Zotlabs/Update/_1209.php index 5ec449395..dc95c3166 100644 --- a/Zotlabs/Update/_1209.php +++ b/Zotlabs/Update/_1209.php @@ -8,7 +8,7 @@ class _1209 { if(ACTIVE_DBTYPE == DBTYPE_POSTGRES) { $r1 = q("ALTER TABLE poll_elm ADD pelm_order numeric(6) NOT NULL DEFAULT '0' "); - $r2 = q("create index \"pelm_order_idx\" on poll_elm \"pelm_order\""); + $r2 = q("create index \"pelm_order_idx\" on poll_elm (\"pelm_order\")"); $r = ($r1 && $r2); } diff --git a/Zotlabs/Update/_1211.php b/Zotlabs/Update/_1211.php index 739a5670d..7068ecbd3 100644 --- a/Zotlabs/Update/_1211.php +++ b/Zotlabs/Update/_1211.php @@ -8,7 +8,7 @@ class _1211 { if(ACTIVE_DBTYPE == DBTYPE_POSTGRES) { $r1 = q("ALTER TABLE channel ADD channel_active timestamp NOT NULL DEFAULT '0001-01-01 00:00:00' "); - $r2 = q("create index \"channel_active\" on channel_active \"channel_active\""); + $r2 = q("create index \"channel_active\" on channel_active (\"channel_active\")"); $r = ($r1 && $r2); } |