Merge pull request #18248 from JMAConsulting/optimise_proximity_search
[civicrm-core.git] / CRM / Grant / DAO / Grant.php
index 1531415e3beb93137cf9786f7fe07bd6c12e5ccc..91b816359a758202611ac223750db3454c3777c7 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Generated from xml/schema/CRM/Grant/Grant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7c259bc89c2ee91302a9bd188f6cc3db)
+ * (GenCodeChecksum:a2e43b7f0fb8547daf5ed874bf6174c5)
  */
 
 /**
  * Database access object for the Grant entity.
  */
 class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
+  const EXT = 'civicrm';
+  const TABLE_ADDED = '1.8';
 
   /**
    * Static instance to hold the table name.
@@ -192,6 +194,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'grant_contact_id' => [
           'name' => 'contact_id',
@@ -209,6 +212,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '1.8',
         ],
         'grant_application_received_date' => [
           'name' => 'application_received_date',
@@ -226,6 +230,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.8',
         ],
         'grant_decision_date' => [
           'name' => 'decision_date',
@@ -243,6 +248,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.8',
         ],
         'grant_money_transfer_date' => [
           'name' => 'money_transfer_date',
@@ -260,6 +266,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.8',
         ],
         'grant_due_date' => [
           'name' => 'grant_due_date',
@@ -277,6 +284,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.8',
         ],
         'grant_report_received' => [
           'name' => 'grant_report_received',
@@ -293,6 +301,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.8',
         ],
         'grant_type_id' => [
           'name' => 'grant_type_id',
@@ -313,6 +322,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
             'optionGroupName' => 'grant_type',
             'optionEditPath' => 'civicrm/admin/options/grant_type',
           ],
+          'add' => '1.8',
         ],
         'amount_total' => [
           'name' => 'amount_total',
@@ -335,6 +345,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'amount_requested' => [
           'name' => 'amount_requested',
@@ -354,6 +365,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'amount_granted' => [
           'name' => 'amount_granted',
@@ -375,6 +387,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'currency' => [
           'name' => 'currency',
@@ -399,6 +412,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '3.2',
         ],
         'rationale' => [
           'name' => 'rationale',
@@ -417,6 +431,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.8',
         ],
         'grant_status_id' => [
           'name' => 'status_id',
@@ -438,6 +453,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
             'optionGroupName' => 'grant_status',
             'optionEditPath' => 'civicrm/admin/options/grant_status',
           ],
+          'add' => '1.8',
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -456,6 +472,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);