CRM-19685: Contacts preferred_mail_format can't be NULL
authoryashodha <yashodha.chaku@webaccessglobal.com>
Tue, 29 Nov 2016 06:55:10 +0000 (12:25 +0530)
committeryashodha <yashodha.chaku@webaccessglobal.com>
Tue, 29 Nov 2016 06:55:10 +0000 (12:25 +0530)
CRM/Upgrade/Incremental/sql/4.7.15.mysql.tpl

index a6ce4cb718956038ca6fb130e39a97536d0783df..4995379ef5577e9c5a333f0c165968e87eea442f 100644 (file)
@@ -1 +1,4 @@
 {* file to handle db changes in 4.7.15 during upgrade *}
+
+-- CRM-19685 (fix for inconsistencies)
+UPDATE civicrm_contact SET preferred_mail_format = 'Both' WHERE preferred_mail_format IS NULL;
\ No newline at end of file