dev/core#230 : set mapping id null on delete action
authorSunil Pawar <sunil@cividesk.com>
Mon, 16 Jul 2018 23:07:09 +0000 (11:07 +1200)
committereileen <emcnaughton@wikimedia.org>
Mon, 16 Jul 2018 23:07:09 +0000 (11:07 +1200)
CRM/Contact/DAO/SavedSearch.php
xml/schema/Contact/SavedSearch.xml

index 97ecac5207f3cd3a284f2e39d48220a532f9d2f2..91db5b3474d358e97addeec1077c9f6582e100a3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/SavedSearch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0341555885ddaf5dbc8e4d6cfe1d899c)
+ * (GenCodeChecksum:4b183aa40bb90cc7c715034178104a11)
  */
 
 /**
index 4da353078754c92a7bce91671b065f332410deac..e8b7dbd2d12400065eb1d4862ba9b88aaeed6e1d 100644 (file)
@@ -55,6 +55,7 @@
     <name>mapping_id</name>
     <table>civicrm_mapping</table>
     <key>id</key>
+    <onDelete>SET NULL</onDelete>
     <add>1.5</add>
   </foreignKey>
   <field>