Update issues on postgres

This commit is contained in:
zotlabs
2018-04-29 17:50:35 -07:00
parent 8c7bf6d2f3
commit aa15867c95
3 changed files with 3 additions and 3 deletions

View File

@@ -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);
}