aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update/_1211.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-04-30 11:51:14 +0200
committerMario <mario@mariovavti.com>2018-04-30 11:52:04 +0200
commitfeb5d3af89cc8709f2774e0dc867f7c849cc80f7 (patch)
treea9b513287f373748d5e0d31ed574b4ef7c2c21ef /Zotlabs/Update/_1211.php
parentb223e364c6221aa3c680505fda4acfd6a1790272 (diff)
downloadvolse-hubzilla-feb5d3af89cc8709f2774e0dc867f7c849cc80f7.tar.gz
volse-hubzilla-feb5d3af89cc8709f2774e0dc867f7c849cc80f7.tar.bz2
volse-hubzilla-feb5d3af89cc8709f2774e0dc867f7c849cc80f7.zip
fix another pgsql update error
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 7068ecbd3..26e25536d 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_idx\" on channel (\"channel_active\")");
$r = ($r1 && $r2);
}