don't delete the current revision if you delete old revisions
authordemeritcowboy <demeritcowboy@hotmail.com>
Tue, 6 Dec 2022 12:40:25 +0000 (07:40 -0500)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Tue, 6 Dec 2022 12:40:25 +0000 (07:40 -0500)
CRM/Activity/DAO/Activity.php
xml/schema/Activity/Activity.xml

index d9709a9b721065949f8bbc7bf4d75794d02b332b..e94b512627fdf5e35740a8da44de5ac3591ad13b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Activity/Activity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3508de88cd5e88d899df21b3c707a831)
+ * (GenCodeChecksum:da92f18bd933a14d180cfccfdb3fdb03)
  */
 
 /**
index c814a083ab2313f5b906fd6fedc594a192ddbcf3..aff1261ef95ded171e108117312a3431e3d1540e 100644 (file)
     <table>civicrm_activity</table>
     <key>id</key>
     <add>2.2</add>
-    <onDelete>CASCADE</onDelete>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
     <name>result</name>