Use correct SQL syntax in repair step
One space was missing
This commit is contained in:
parent
1243a7144a
commit
d1513883d7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user