aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update/_1211.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-29 17:50:35 -0700
committerzotlabs <mike@macgirvin.com>2018-04-29 17:50:35 -0700
commitaa15867c9538e416aaa46de0fef8f2a92b69bf05 (patch)
treeaea406b940f1c7e8b6d3fbab337d0860170f153c /Zotlabs/Update/_1211.php
parent8c7bf6d2f362ef705ef04a06542f8c23bee81d89 (diff)
downloadvolse-hubzilla-aa15867c9538e416aaa46de0fef8f2a92b69bf05.tar.gz
volse-hubzilla-aa15867c9538e416aaa46de0fef8f2a92b69bf05.tar.bz2
volse-hubzilla-aa15867c9538e416aaa46de0fef8f2a92b69bf05.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);
}