fix another pgsql update error
This commit is contained in:
parent
e1738e8021
commit
875597cde1
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user