Skip to content

Commit 5388010

Browse files
committed
set updated_at
1 parent 09a0274 commit 5388010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Controller/Message.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ function _upsert_file($rec)
382382
VALUES (:p0, :n1, :s1, :t1, :b1)
383383
ON CONFLICT (id)
384384
DO UPDATE
385-
SET name = :n1, size = :s1, type = :t1, body = :b1
385+
SET updated_at = now(), name = :n1, size = :s1, type = :t1, body = :b1
386386
SQL;
387387

388388
$cmd = $dbc->prepare($sql, null);

0 commit comments

Comments
 (0)