--CRM-17145, fixed data type for civicrm_activity.details
authorPradeep Nayak <pradpnayak@gmail.com>
Thu, 3 Sep 2015 08:54:02 +0000 (14:24 +0530)
committerPradeep Nayak <pradpnayak@gmail.com>
Thu, 3 Sep 2015 08:54:02 +0000 (14:24 +0530)
CRM/Upgrade/Incremental/sql/4.7.alpha1.mysql.tpl
xml/schema/Activity/Activity.xml

index 1fb8b9c2f0cdf87982ea39dd8fdff986d0c57e95..19f3598b55304a06ed567058cccffcad6a2099a2 100644 (file)
@@ -87,3 +87,6 @@ CREATE TABLE IF NOT EXISTS `civicrm_status_pref` (
 
 -- CRM-17005
 UPDATE civicrm_country SET name = 'PALESTINIAN TERRITORY' WHERE name = 'PALESTINIAN TERRITORY, OCCUPIED';
+
+-- CRM-17145 update Activity detail data type
+ALTER TABLE `civicrm_activity` CHANGE `details` `details` LONGTEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'Details about the activity (agenda, notes, etc).';
index 4e742852a2f957e460f8e4d2e221151dba09cc0b..59348ba6b63e13acfc47d5a2fc99d1fe4c952b14 100644 (file)
     <uniqueName>activity_details</uniqueName>
     <title>Details</title>
     <import>true</import>
-    <type>text</type>
+    <type>longtext</type>
     <headerPattern>/(activity.)?detail(s)?$/i</headerPattern>
     <comment>Details about the activity (agenda, notes, etc).</comment>
     <html>