From: Eileen McNaughton Date: Sun, 4 Dec 2022 20:54:18 +0000 (+1300) Subject: dev/core#1634 Deprecate unused activity columns X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0c6a1928f42b3b01b39340bce09073a561dfc964;p=civicrm-core.git dev/core#1634 Deprecate unused activity columns This doesn't get rid of these columns, but it does stop them being exposed in form builder etc --- diff --git a/CRM/Activity/DAO/Activity.php b/CRM/Activity/DAO/Activity.php index 8d6164047e..833f7d2bb3 100644 --- a/CRM/Activity/DAO/Activity.php +++ b/CRM/Activity/DAO/Activity.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Activity/Activity.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:016e3be7b0f4a706b96d0c1e8523b25f) + * (GenCodeChecksum:3508de88cd5e88d899df21b3c707a831) */ /** @@ -125,6 +125,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { * @var int|string|null * (SQL type: int unsigned) * Note that values will be retrieved from the database as a string. + * @deprecated */ public $phone_id; @@ -134,6 +135,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { * @var string|null * (SQL type: varchar(64)) * Note that values will be retrieved from the database as a string. + * @deprecated */ public $phone_number; @@ -202,6 +204,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO { * @var int|string|null * (SQL type: int unsigned) * Note that values will be retrieved from the database as a string. + * @deprecated */ public $relationship_id; diff --git a/xml/schema/Activity/Activity.xml b/xml/schema/Activity/Activity.xml index 09a55c4514..c814a083ab 100644 --- a/xml/schema/Activity/Activity.xml +++ b/xml/schema/Activity/Activity.xml @@ -138,6 +138,7 @@ Phone ID (called) Phone ID of the number called (optional - used if an existing phone number is selected). 2.0 + true EntityRef @@ -155,6 +156,7 @@ Phone (called) Number varchar 64 + true Phone number in case the number does not exist in the civicrm_phone table. Text @@ -283,6 +285,7 @@ + true 2.2