aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update/_1211.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-29 17:50:35 -0700
committerMario Vavti <mario@mariovavti.com>2018-04-30 09:14:32 +0200
commitae5b3a83f1d6efafdbe2651ddc275385f1d4089c (patch)
tree397a8c9a704b0b4fb7ebcffc63bd83ed866c6f79 /Zotlabs/Update/_1211.php
parent5e23640563618df30ff77ad21bbd429908267a32 (diff)
downloadvolse-hubzilla-ae5b3a83f1d6efafdbe2651ddc275385f1d4089c.tar.gz
volse-hubzilla-ae5b3a83f1d6efafdbe2651ddc275385f1d4089c.tar.bz2
volse-hubzilla-ae5b3a83f1d6efafdbe2651ddc275385f1d4089c.zip
Update issues on postgres
Diffstat (limited to 'Zotlabs/Update/_1211.php')
-rw-r--r--Zotlabs/Update/_1211.php2
1 files changed, 1 insertions, 1 deletions
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);
}