Skip to content

Commit

Permalink
Merge pull request #27312 from civicrm/5.65
Browse files Browse the repository at this point in the history
5.65
  • Loading branch information
eileenmcnaughton authored Sep 5, 2023
2 parents 0ad2b11 + c148019 commit 7dde58d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Upgrade/Incremental/php/FiveSixty.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static function addJobLogForeignKey(): bool {
CRM_Core_DAO::executeQuery($commentQuery);

// Set job_id = NULL for any that don't have matching jobs (ie. job was deleted).
$updateQuery = 'UPDATE civicrm_job_log job_log LEFT JOIN civicrm_job job ON job.id = job_log.id SET job_id = NULL WHERE job.id IS NULL';
$updateQuery = 'UPDATE civicrm_job_log job_log LEFT JOIN civicrm_job job ON job.id = job_log.job_id SET job_id = NULL WHERE job.id IS NULL';
CRM_Core_DAO::executeQuery($updateQuery);

// Add the foreign key
Expand Down

0 comments on commit 7dde58d

Please sign in to comment.