From ae5b3a83f1d6efafdbe2651ddc275385f1d4089c Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 29 Apr 2018 17:50:35 -0700 Subject: Update issues on postgres --- Zotlabs/Update/_1208.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Update/_1208.php') 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); } -- cgit v1.2.3