aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update/_1208.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Update/_1208.php')
-rw-r--r--Zotlabs/Update/_1208.php2
1 files changed, 1 insertions, 1 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);
}