From 2213e77bef3e75feff7f4732420baaf1189814b8 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Wed, 20 Mar 2013 11:33:58 -0700 Subject: [PATCH] CRM-12142 Need to set default value for new premiums_nothankyou_label column --- CRM/Upgrade/Incremental/sql/4.3.beta4.mysql.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Upgrade/Incremental/sql/4.3.beta4.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.3.beta4.mysql.tpl index a5b4a141ea..6fb8bbdeb3 100644 --- a/CRM/Upgrade/Incremental/sql/4.3.beta4.mysql.tpl +++ b/CRM/Upgrade/Incremental/sql/4.3.beta4.mysql.tpl @@ -5,6 +5,9 @@ option in premiums block (e.g. No thank you)'; {/if} +-- Also need to populate default text for premiums_nothankyou_label +UPDATE `civicrm_premiums` SET {localize field='premiums_nothankyou_label'}premiums_nothankyou_label{/localize} = {localize}'{ts escape="sql"}No thank-you{/ts}'{/localize}; + -- CRM-12151 ALTER TABLE civicrm_option_value DROP INDEX index_option_group_id_value, -- 2.25.1