Use correct SQL syntax in repair step

One space was missing
This commit is contained in:
Jonathan Flueren 2021-10-06 17:04:21 +02:00 committed by thrillfall
parent 1243a7144a
commit d1513883d7
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class TimestampMigration implements \OCP\Migration\IRepairStep
foreach ($timestamps as $timestamp) {
$timestampEpoch = (new DateTime($timestamp["timestamp"]))->format("U");
$sql = 'UPDATE `*PREFIX*gpodder_episode_action` '
. 'SET `timestamp_epoch` = ' . $timestampEpoch
. 'SET `timestamp_epoch` = ' . $timestampEpoch . ' '
. 'WHERE `timestamp_epoch` = 0';
$result = $this->db->executeUpdate($sql);