Merge pull request #10805 from JKingsnorth/CRM-21009
[civicrm-core.git] / CRM / Report / DAO / ReportInstance.php
index c090f21113240945c89d8bf8680f2f555a3e1be9..ee3f06b0f8b7b5b4ac943d924152fe2bb840d7a9 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:e28abdd2a3696c4a6072dfbfd4f54d68)
  */
 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',
@@ -562,4 +562,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;
+  }
 }