Skip to content

Commit

Permalink
Merge pull request civicrm#31175 from civicrm/5.78
Browse files Browse the repository at this point in the history
5.78
  • Loading branch information
eileenmcnaughton authored Sep 25, 2024
2 parents 2e2ee91 + 6023cee commit 674bb00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Upgrade/Incremental/sql/5.78.beta1.mysql.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ UPDATE `civicrm_note` c
SET c.`modified_date` = COALESCE(c.`created_date`, current_timestamp())
WHERE c.`modified_date` IS NULL;
ALTER TABLE `civicrm_note` MODIFY COLUMN `note_date` timestamp NOT NULL DEFAULT current_timestamp() COMMENT 'Date attached to the note';
ALTER TABLE `civicrm_note` MODIFY COLUMN `modified_date` timestamp NOT NULL DEFAULT current_timestamp() COMMENT 'When was this note last modified/edited';
ALTER TABLE `civicrm_note` MODIFY COLUMN `modified_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'When was this note last modified/edited';

-- Not accurate but we need to set it to SOMETHING before changing to NOT NULL
UPDATE `civicrm_payment_token` c
Expand Down

0 comments on commit 674bb00

Please sign in to comment.