CRM-16086 - schema corrections.
authorDave Greenberg <dave@civicrm.org>
Tue, 29 Sep 2015 00:14:36 +0000 (20:14 -0400)
committerDave Greenberg <dave@civicrm.org>
Tue, 29 Sep 2015 00:14:36 +0000 (20:14 -0400)
----------------------------------------
* CRM-16086: schema differences between upgrades and install
  https://issues.civicrm.org/jira/browse/CRM-16086

xml/schema/Core/ActionSchedule.xml
xml/schema/Core/MailSettings.xml

index 2d2a670cece58aee244d9125c12163be62f55b9d..dc1512120140dcded118b132e4df59d56ad12a49 100644 (file)
     <comment>FK to the message template.</comment>
   </field>
   <foreignKey>
-    <name>msg_template_id</name>
+    <name>sms_template_id</name>
     <table>civicrm_msg_template</table>
     <key>id</key>
     <onDelete>SET NULL</onDelete>
index 03e5ca10b0179cdf12254d2bcb3ce863ff6bc8a8..cf13165d19659f25226cab2b21b63d5082b13854 100644 (file)
@@ -34,6 +34,7 @@
     <table>civicrm_domain</table>
     <key>id</key>
     <add>4.5</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
     <name>name</name>