fix another pgsql update error

This commit is contained in:
Mario 2018-04-30 11:51:14 +02:00
parent b223e364c6
commit feb5d3af89

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_idx\" on channel (\"channel_active\")");
$r = ($r1 && $r2);
}