Skip to content

Commit

Permalink
Merge pull request #23355 from colemanw/userJobIfNotExists
Browse files Browse the repository at this point in the history
Fix 'Table already exists' error when running 5.50 upgrade twice
  • Loading branch information
eileenmcnaughton authored May 4, 2022
2 parents 72eaf83 + 514e231 commit 52e97c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Upgrade/Incremental/sql/5.50.alpha1.mysql.tpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{* file to handle db changes in 5.50.alpha1 during upgrade *}

CREATE TABLE `civicrm_user_job` (
CREATE TABLE IF NOT EXISTS `civicrm_user_job` (
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Job ID',
`name` varchar(64) COMMENT 'Unique name for job.',
`created_id` int unsigned COMMENT 'FK to contact table.',
Expand Down

0 comments on commit 52e97c6

Please sign in to comment.