Merge pull request #11414 from JMAConsulting/CRM-21563
[civicrm-core.git] / CRM / Report / DAO / ReportInstance.php
index c090f21113240945c89d8bf8680f2f555a3e1be9..7ba08fad414a38ebabcbdd70f2f07ab7b982b9f9 100644 (file)
@@ -30,7 +30,7 @@
  *
  * Generated from xml/schema/CRM/Report/ReportInstance.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:857f3f19bbbb33bf039b6ea95f2097c5)
+ * (GenCodeChecksum:09ffdd1693f38f5790d4c9c00d3c5d2f)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
@@ -257,8 +257,8 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'title' => ts('Report template ID') ,
           'description' => 'FK to civicrm_option_value for the report template',
           'required' => true,
-          'maxlength' => 64,
-          'size' => CRM_Utils_Type::BIG,
+          'maxlength' => 512,
+          'size' => CRM_Utils_Type::HUGE,
           'table_name' => 'civicrm_report_instance',
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
@@ -356,6 +356,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
           'localizable' => 0,
+          'serialize' => self::SERIALIZE_PHP,
         ) ,
         'is_active' => array(
           'name' => 'is_active',
@@ -562,4 +563,11 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
     $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'report_instance', $prefix, array());
     return $r;
   }
+  /**
+   * Returns the list of indices
+   */
+  public static function indices($localize = TRUE) {
+    $indices = array();
+    return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+  }
 }