From 0880771a75ce8dd996238bce045ad11f5be8c056 Mon Sep 17 00:00:00 2001
From: Kevin Cristiano <kcristiano@kcristiano.com>
Date: Thu, 23 Jul 2020 07:34:48 -0400
Subject: [PATCH] civicrm release

---
 civicrm.php                                   |  6 +-
 civicrm/CRM/ACL/DAO/ACL.php                   | 13 +++-
 civicrm/CRM/ACL/DAO/ACLCache.php              |  6 +-
 civicrm/CRM/ACL/DAO/EntityRole.php            |  7 +-
 civicrm/CRM/Activity/DAO/Activity.php         | 29 +++++++-
 civicrm/CRM/Activity/DAO/ActivityContact.php  |  6 +-
 civicrm/CRM/Batch/DAO/Batch.php               | 19 ++++-
 civicrm/CRM/Batch/DAO/EntityBatch.php         |  6 +-
 civicrm/CRM/Campaign/DAO/Campaign.php         | 19 ++++-
 civicrm/CRM/Campaign/DAO/CampaignGroup.php    |  7 +-
 civicrm/CRM/Campaign/DAO/Survey.php           | 22 +++++-
 civicrm/CRM/Case/DAO/Case.php                 | 12 +++-
 civicrm/CRM/Case/DAO/CaseActivity.php         |  5 +-
 civicrm/CRM/Case/DAO/CaseContact.php          |  5 +-
 civicrm/CRM/Case/DAO/CaseType.php             | 10 ++-
 civicrm/CRM/Contact/DAO/ACLContactCache.php   |  6 +-
 civicrm/CRM/Contact/DAO/Contact.php           | 54 +++++++++++++-
 civicrm/CRM/Contact/DAO/ContactType.php       | 10 ++-
 civicrm/CRM/Contact/DAO/DashboardContact.php  |  8 ++-
 civicrm/CRM/Contact/DAO/Group.php             | 22 +++++-
 civicrm/CRM/Contact/DAO/GroupContact.php      |  8 ++-
 civicrm/CRM/Contact/DAO/GroupContactCache.php |  5 +-
 civicrm/CRM/Contact/DAO/GroupNesting.php      |  5 +-
 civicrm/CRM/Contact/DAO/GroupOrganization.php |  5 +-
 civicrm/CRM/Contact/DAO/Relationship.php      | 13 +++-
 civicrm/CRM/Contact/DAO/RelationshipType.php  | 14 +++-
 civicrm/CRM/Contact/DAO/SavedSearch.php       |  8 ++-
 .../CRM/Contact/DAO/SubscriptionHistory.php   |  9 ++-
 civicrm/CRM/Contribute/DAO/Contribution.php   | 33 ++++++++-
 .../CRM/Contribute/DAO/ContributionPage.php   | 48 ++++++++++++-
 .../Contribute/DAO/ContributionProduct.php    | 12 +++-
 .../CRM/Contribute/DAO/ContributionRecur.php  | 31 +++++++-
 .../CRM/Contribute/DAO/ContributionSoft.php   | 12 +++-
 civicrm/CRM/Contribute/DAO/Premium.php        | 13 +++-
 .../CRM/Contribute/DAO/PremiumsProduct.php    |  7 +-
 civicrm/CRM/Contribute/DAO/Product.php        | 21 +++++-
 civicrm/CRM/Contribute/DAO/Widget.php         | 19 ++++-
 civicrm/CRM/Core/BAO/CustomGroup.php          |  5 +-
 civicrm/CRM/Core/CodeGen/Specification.php    |  1 +
 civicrm/CRM/Core/DAO.php                      | 37 ++++++++++
 civicrm/CRM/Core/DAO/ActionLog.php            | 12 +++-
 civicrm/CRM/Core/DAO/ActionMapping.php        | 11 ++-
 civicrm/CRM/Core/DAO/ActionSchedule.php       | 40 ++++++++++-
 civicrm/CRM/Core/DAO/Address.php              | 31 +++++++-
 civicrm/CRM/Core/DAO/AddressFormat.php        |  4 +-
 civicrm/CRM/Core/DAO/Cache.php                |  9 ++-
 civicrm/CRM/Core/DAO/Component.php            |  5 +-
 civicrm/CRM/Core/DAO/Country.php              | 11 ++-
 civicrm/CRM/Core/DAO/County.php               |  6 +-
 civicrm/CRM/Core/DAO/CustomField.php          | 33 ++++++++-
 civicrm/CRM/Core/DAO/CustomGroup.php          | 23 +++++-
 civicrm/CRM/Core/DAO/Dashboard.php            | 13 +++-
 civicrm/CRM/Core/DAO/Discount.php             |  8 ++-
 civicrm/CRM/Core/DAO/Domain.php               |  9 ++-
 civicrm/CRM/Core/DAO/Email.php                | 14 +++-
 civicrm/CRM/Core/DAO/EntityFile.php           |  6 +-
 civicrm/CRM/Core/DAO/EntityTag.php            |  6 +-
 civicrm/CRM/Core/DAO/Extension.php            | 10 ++-
 civicrm/CRM/Core/DAO/File.php                 | 10 ++-
 civicrm/CRM/Core/DAO/IM.php                   |  9 ++-
 civicrm/CRM/Core/DAO/Job.php                  | 13 +++-
 civicrm/CRM/Core/DAO/JobLog.php               | 10 ++-
 civicrm/CRM/Core/DAO/LocBlock.php             | 11 ++-
 civicrm/CRM/Core/DAO/LocationType.php         | 10 ++-
 civicrm/CRM/Core/DAO/Log.php                  |  8 ++-
 civicrm/CRM/Core/DAO/MailSettings.php         | 17 ++++-
 civicrm/CRM/Core/DAO/Managed.php              |  8 ++-
 civicrm/CRM/Core/DAO/Mapping.php              |  6 +-
 civicrm/CRM/Core/DAO/MappingField.php         | 16 ++++-
 civicrm/CRM/Core/DAO/Menu.php                 | 24 ++++++-
 civicrm/CRM/Core/DAO/MessageTemplate.php      | 14 +++-
 civicrm/CRM/Core/DAO/Navigation.php           | 14 +++-
 civicrm/CRM/Core/DAO/Note.php                 | 10 ++-
 civicrm/CRM/Core/DAO/OpenID.php               |  8 ++-
 civicrm/CRM/Core/DAO/OptionGroup.php          | 10 ++-
 civicrm/CRM/Core/DAO/OptionValue.php          | 20 +++++-
 civicrm/CRM/Core/DAO/Phone.php                | 12 +++-
 civicrm/CRM/Core/DAO/PreferencesDate.php      |  9 ++-
 civicrm/CRM/Core/DAO/PrevNextCache.php        |  9 ++-
 civicrm/CRM/Core/DAO/PrintLabel.php           | 13 +++-
 civicrm/CRM/Core/DAO/RecurringEntity.php      |  7 +-
 civicrm/CRM/Core/DAO/Setting.php              | 11 ++-
 civicrm/CRM/Core/DAO/StateProvince.php        |  6 +-
 civicrm/CRM/Core/DAO/StatusPreference.php     | 10 ++-
 civicrm/CRM/Core/DAO/SystemLog.php            |  9 ++-
 civicrm/CRM/Core/DAO/Tag.php                  | 13 +++-
 civicrm/CRM/Core/DAO/Timezone.php             |  8 ++-
 civicrm/CRM/Core/DAO/UFField.php              | 21 +++++-
 civicrm/CRM/Core/DAO/UFGroup.php              | 29 +++++++-
 civicrm/CRM/Core/DAO/UFJoin.php               | 10 ++-
 civicrm/CRM/Core/DAO/UFMatch.php              |  8 ++-
 civicrm/CRM/Core/DAO/Website.php              |  6 +-
 civicrm/CRM/Core/DAO/WordReplacement.php      |  8 ++-
 civicrm/CRM/Core/DAO/Worldregion.php          |  4 +-
 civicrm/CRM/Cxn/DAO/Cxn.php                   | 13 +++-
 civicrm/CRM/Dedupe/DAO/Exception.php          |  5 +-
 civicrm/CRM/Dedupe/DAO/Rule.php               |  8 ++-
 civicrm/CRM/Dedupe/DAO/RuleGroup.php          |  9 ++-
 civicrm/CRM/Event/Cart/DAO/Cart.php           |  5 +-
 civicrm/CRM/Event/Cart/DAO/EventInCart.php    |  5 +-
 civicrm/CRM/Event/DAO/Event.php               | 71 ++++++++++++++++++-
 civicrm/CRM/Event/DAO/Participant.php         | 21 +++++-
 civicrm/CRM/Event/DAO/ParticipantPayment.php  |  5 +-
 .../CRM/Event/DAO/ParticipantStatusType.php   | 11 ++-
 civicrm/CRM/Financial/DAO/Currency.php        |  7 +-
 .../Financial/DAO/EntityFinancialAccount.php  |  7 +-
 .../CRM/Financial/DAO/EntityFinancialTrxn.php |  7 +-
 .../CRM/Financial/DAO/FinancialAccount.php    | 17 ++++-
 civicrm/CRM/Financial/DAO/FinancialItem.php   | 13 +++-
 civicrm/CRM/Financial/DAO/FinancialTrxn.php   | 20 +++++-
 civicrm/CRM/Financial/DAO/FinancialType.php   |  8 ++-
 .../CRM/Financial/DAO/PaymentProcessor.php    | 25 ++++++-
 .../Financial/DAO/PaymentProcessorType.php    | 25 ++++++-
 civicrm/CRM/Financial/DAO/PaymentToken.php    | 15 +++-
 civicrm/CRM/Friend/DAO/Friend.php             | 12 +++-
 civicrm/CRM/Grant/DAO/Grant.php               | 17 ++++-
 civicrm/CRM/Mailing/DAO/BouncePattern.php     |  5 +-
 civicrm/CRM/Mailing/DAO/BounceType.php        |  6 +-
 civicrm/CRM/Mailing/DAO/Mailing.php           | 45 +++++++++++-
 civicrm/CRM/Mailing/DAO/MailingAB.php         | 16 ++++-
 civicrm/CRM/Mailing/DAO/MailingComponent.php  | 10 ++-
 civicrm/CRM/Mailing/DAO/MailingGroup.php      |  9 ++-
 civicrm/CRM/Mailing/DAO/MailingJob.php        | 13 +++-
 civicrm/CRM/Mailing/DAO/Recipients.php        |  7 +-
 civicrm/CRM/Mailing/DAO/Spool.php             |  9 ++-
 civicrm/CRM/Mailing/DAO/TrackableURL.php      |  5 +-
 civicrm/CRM/Mailing/Event/DAO/Bounce.php      |  7 +-
 civicrm/CRM/Mailing/Event/DAO/Confirm.php     |  5 +-
 civicrm/CRM/Mailing/Event/DAO/Delivered.php   |  5 +-
 civicrm/CRM/Mailing/Event/DAO/Forward.php     |  6 +-
 civicrm/CRM/Mailing/Event/DAO/Opened.php      |  5 +-
 civicrm/CRM/Mailing/Event/DAO/Queue.php       |  8 ++-
 civicrm/CRM/Mailing/Event/DAO/Reply.php       |  5 +-
 civicrm/CRM/Mailing/Event/DAO/Subscribe.php   |  7 +-
 .../Mailing/Event/DAO/TrackableURLOpen.php    |  6 +-
 civicrm/CRM/Mailing/Event/DAO/Unsubscribe.php |  6 +-
 civicrm/CRM/Member/DAO/Membership.php         | 18 ++++-
 civicrm/CRM/Member/DAO/MembershipBlock.php    | 15 +++-
 civicrm/CRM/Member/DAO/MembershipLog.php      | 11 ++-
 civicrm/CRM/Member/DAO/MembershipPayment.php  |  5 +-
 civicrm/CRM/Member/DAO/MembershipStatus.php   | 17 ++++-
 civicrm/CRM/Member/DAO/MembershipType.php     | 23 +++++-
 civicrm/CRM/PCP/DAO/PCP.php                   | 18 ++++-
 civicrm/CRM/PCP/DAO/PCPBlock.php              | 15 +++-
 civicrm/CRM/Pledge/DAO/Pledge.php             | 25 ++++++-
 civicrm/CRM/Pledge/DAO/PledgeBlock.php        | 13 +++-
 civicrm/CRM/Pledge/DAO/PledgePayment.php      | 12 +++-
 civicrm/CRM/Price/DAO/LineItem.php            | 16 ++++-
 civicrm/CRM/Price/DAO/PriceField.php          | 19 ++++-
 civicrm/CRM/Price/DAO/PriceFieldValue.php     | 20 +++++-
 civicrm/CRM/Price/DAO/PriceSet.php            | 15 +++-
 civicrm/CRM/Price/DAO/PriceSetEntity.php      |  6 +-
 civicrm/CRM/Queue/DAO/QueueItem.php           |  8 ++-
 civicrm/CRM/Report/DAO/ReportInstance.php     | 23 +++++-
 civicrm/CRM/Report/Form.php                   | 15 +---
 civicrm/CRM/SMS/DAO/Provider.php              | 13 +++-
 .../Upgrade/Incremental/sql/5.27.3.mysql.tpl  |  1 +
 civicrm/CRM/Utils/Check/Component/Env.php     |  3 +-
 .../Civi/Api4/Service/Spec/SpecGatherer.php   |  2 +-
 civicrm/Civi/Test/Data.php                    |  2 +
 civicrm/api/v3/Setting.php                    | 11 ++-
 civicrm/api/v3/utils.php                      | 16 +++--
 .../angular-bootstrap/.gitignore              |  1 +
 .../angular-file-upload/.gitignore            |  5 ++
 .../bower_components/font-awesome/.gitignore  | 33 +++++++++
 civicrm/bower_components/jquery-ui/.gitignore |  4 ++
 civicrm/bower_components/jquery/.gitignore    | 15 ++++
 civicrm/bower_components/js-yaml/.gitignore   |  7 ++
 civicrm/bower_components/select2/.gitignore   |  2 +
 civicrm/civicrm-version.php                   |  2 +-
 civicrm/packages/.gitignore                   | 15 ++++
 civicrm/release-notes.md                      |  9 +++
 civicrm/release-notes/5.27.3.md               | 43 +++++++++++
 civicrm/sql/civicrm_data.mysql                |  2 +-
 civicrm/sql/civicrm_generated.mysql           |  2 +-
 .../vendor/adrienrn/php-mimetyper/.gitignore  |  7 ++
 civicrm/vendor/autoload.php                   |  2 +-
 .../vendor/cache/integration-tests/.gitignore |  2 +
 civicrm/vendor/cache/tag-interop/.gitignore   |  2 +
 .../vendor/civicrm/civicrm-cxn-rpc/.gitignore |  3 +
 .../composer-downloads-plugin/.gitignore      |  3 +
 civicrm/vendor/composer/autoload_real.php     | 14 ++--
 civicrm/vendor/composer/autoload_static.php   | 12 ++--
 .../cweagans/composer-patches/.gitignore      |  1 +
 .../dflydev/apache-mime-types/.gitignore      |  2 +
 civicrm/vendor/marcj/topsort/.gitignore       |  2 +
 civicrm/vendor/pear/auth_sasl/.gitignore      |  7 ++
 civicrm/vendor/pear/console_getopt/.gitignore |  6 ++
 civicrm/vendor/pear/log/.gitignore            | 18 +++++
 civicrm/vendor/pear/mail/.gitignore           |  4 ++
 civicrm/vendor/pear/net_smtp/.gitignore       | 15 ++++
 civicrm/vendor/pear/net_socket/.gitignore     |  4 ++
 civicrm/vendor/pear/pear_exception/.gitignore |  6 ++
 .../validate_finance_creditcard/.gitignore    |  4 ++
 civicrm/vendor/phenx/php-font-lib/.gitignore  |  5 ++
 civicrm/vendor/phenx/php-svg-lib/.gitignore   |  3 +
 civicrm/vendor/phpoffice/common/.gitignore    | 25 +++++++
 civicrm/vendor/psr/container/.gitignore       |  3 +
 civicrm/vendor/psr/log/.gitignore             |  1 +
 .../sabberworm/php-css-parser/.gitignore      |  1 +
 civicrm/vendor/symfony/config/.gitignore      |  3 +
 .../symfony/dependency-injection/.gitignore   |  3 +
 .../symfony/event-dispatcher/.gitignore       |  3 +
 civicrm/vendor/symfony/filesystem/.gitignore  |  3 +
 civicrm/vendor/symfony/finder/.gitignore      |  3 +
 civicrm/vendor/symfony/process/.gitignore     |  3 +
 civicrm/vendor/togos/gitignore/.gitignore     |  2 +
 civicrm/vendor/totten/ca-config/.gitignore    |  3 +
 civicrm/vendor/tplaner/when/.gitignore        |  8 +++
 .../xkerman/restricted-unserialize/.gitignore |  2 +
 civicrm/vendor/zetacomponents/base/.gitignore |  3 +
 civicrm/vendor/zetacomponents/mail/.gitignore |  4 ++
 civicrm/xml/templates/dao.tpl                 |  4 +-
 civicrm/xml/version.xml                       |  2 +-
 214 files changed, 2234 insertions(+), 197 deletions(-)
 create mode 100644 civicrm/CRM/Upgrade/Incremental/sql/5.27.3.mysql.tpl
 create mode 100644 civicrm/bower_components/angular-bootstrap/.gitignore
 create mode 100644 civicrm/bower_components/angular-file-upload/.gitignore
 create mode 100644 civicrm/bower_components/font-awesome/.gitignore
 create mode 100644 civicrm/bower_components/jquery-ui/.gitignore
 create mode 100644 civicrm/bower_components/jquery/.gitignore
 create mode 100644 civicrm/bower_components/js-yaml/.gitignore
 create mode 100644 civicrm/bower_components/select2/.gitignore
 create mode 100644 civicrm/packages/.gitignore
 create mode 100644 civicrm/release-notes/5.27.3.md
 create mode 100644 civicrm/vendor/adrienrn/php-mimetyper/.gitignore
 create mode 100755 civicrm/vendor/cache/integration-tests/.gitignore
 create mode 100644 civicrm/vendor/cache/tag-interop/.gitignore
 create mode 100644 civicrm/vendor/civicrm/civicrm-cxn-rpc/.gitignore
 create mode 100644 civicrm/vendor/civicrm/composer-downloads-plugin/.gitignore
 create mode 100644 civicrm/vendor/cweagans/composer-patches/.gitignore
 create mode 100644 civicrm/vendor/dflydev/apache-mime-types/.gitignore
 create mode 100644 civicrm/vendor/marcj/topsort/.gitignore
 create mode 100644 civicrm/vendor/pear/auth_sasl/.gitignore
 create mode 100644 civicrm/vendor/pear/console_getopt/.gitignore
 create mode 100644 civicrm/vendor/pear/log/.gitignore
 create mode 100644 civicrm/vendor/pear/mail/.gitignore
 create mode 100644 civicrm/vendor/pear/net_smtp/.gitignore
 create mode 100644 civicrm/vendor/pear/net_socket/.gitignore
 create mode 100644 civicrm/vendor/pear/pear_exception/.gitignore
 create mode 100644 civicrm/vendor/pear/validate_finance_creditcard/.gitignore
 create mode 100644 civicrm/vendor/phenx/php-font-lib/.gitignore
 create mode 100644 civicrm/vendor/phenx/php-svg-lib/.gitignore
 create mode 100644 civicrm/vendor/phpoffice/common/.gitignore
 create mode 100644 civicrm/vendor/psr/container/.gitignore
 create mode 100644 civicrm/vendor/psr/log/.gitignore
 create mode 100644 civicrm/vendor/sabberworm/php-css-parser/.gitignore
 create mode 100644 civicrm/vendor/symfony/config/.gitignore
 create mode 100644 civicrm/vendor/symfony/dependency-injection/.gitignore
 create mode 100644 civicrm/vendor/symfony/event-dispatcher/.gitignore
 create mode 100644 civicrm/vendor/symfony/filesystem/.gitignore
 create mode 100644 civicrm/vendor/symfony/finder/.gitignore
 create mode 100644 civicrm/vendor/symfony/process/.gitignore
 create mode 100644 civicrm/vendor/togos/gitignore/.gitignore
 create mode 100644 civicrm/vendor/totten/ca-config/.gitignore
 create mode 100755 civicrm/vendor/tplaner/when/.gitignore
 create mode 100644 civicrm/vendor/xkerman/restricted-unserialize/.gitignore
 create mode 100644 civicrm/vendor/zetacomponents/base/.gitignore
 create mode 100644 civicrm/vendor/zetacomponents/mail/.gitignore

diff --git a/civicrm.php b/civicrm.php
index f2c577bf21..b1270e419f 100644
--- a/civicrm.php
+++ b/civicrm.php
@@ -2,7 +2,7 @@
 /*
 Plugin Name: CiviCRM
 Description: CiviCRM - Growing and Sustaining Relationships
-Version: 5.27.2
+Version: 5.27.3
 Requires at least: 4.9
 Requires PHP:      7.1
 Author: CiviCRM LLC
@@ -56,7 +56,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
 
 
 // Set version here: when it changes, will force JS to reload
-define( 'CIVICRM_PLUGIN_VERSION', '5.27.2' );
+define( 'CIVICRM_PLUGIN_VERSION', '5.27.3' );
 
 // Store reference to this file
 if (!defined('CIVICRM_PLUGIN_FILE')) {
@@ -367,7 +367,7 @@ class CiviCRM_For_WordPress {
      * There is no session handling in WP - hence we start it for CiviCRM pages
      * except when running via WP-CLI which does not require sessions.
      */
-    if ( empty( $session_id ) && ! ( defined( 'WP_CLI' ) && WP_CLI ) && ( PHP_SAPI !== 'cli' ) ) {
+    if ( empty( $session_id ) && ! ( defined( 'WP_CLI' ) && WP_CLI ) ) {
       session_start();
     }
 
diff --git a/civicrm/CRM/ACL/DAO/ACL.php b/civicrm/CRM/ACL/DAO/ACL.php
index e9b76b01d3..97d133de17 100644
--- a/civicrm/CRM/ACL/DAO/ACL.php
+++ b/civicrm/CRM/ACL/DAO/ACL.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACL.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3b22e42a53e4863614014323e5b98526)
+ * (GenCodeChecksum:059db7bea8f7e6db81aa75b7b49ab3aa)
  */
 
 /**
@@ -147,6 +147,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
           'entity' => 'ACL',
           'bao' => 'CRM_ACL_BAO_ACL',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'name' => [
           'name' => 'name',
@@ -163,6 +164,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.6',
         ],
         'deny' => [
           'name' => 'deny',
@@ -179,6 +181,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
           'html' => [
             'type' => 'Radio',
           ],
+          'add' => '1.6',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -193,6 +196,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
           'entity' => 'ACL',
           'bao' => 'CRM_ACL_BAO_ACL',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -204,6 +208,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
           'entity' => 'ACL',
           'bao' => 'CRM_ACL_BAO_ACL',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'operation' => [
           'name' => 'operation',
@@ -224,6 +229,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_ACL_BAO_ACL::operation',
           ],
+          'add' => '1.6',
         ],
         'object_table' => [
           'name' => 'object_table',
@@ -237,6 +243,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
           'entity' => 'ACL',
           'bao' => 'CRM_ACL_BAO_ACL',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'object_id' => [
           'name' => 'object_id',
@@ -248,6 +255,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
           'entity' => 'ACL',
           'bao' => 'CRM_ACL_BAO_ACL',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'acl_table' => [
           'name' => 'acl_table',
@@ -261,6 +269,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
           'entity' => 'ACL',
           'bao' => 'CRM_ACL_BAO_ACL',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'acl_id' => [
           'name' => 'acl_id',
@@ -272,6 +281,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
           'entity' => 'ACL',
           'bao' => 'CRM_ACL_BAO_ACL',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -286,6 +296,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.6',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/ACL/DAO/ACLCache.php b/civicrm/CRM/ACL/DAO/ACLCache.php
index 958223b878..bbf49e57e9 100644
--- a/civicrm/CRM/ACL/DAO/ACLCache.php
+++ b/civicrm/CRM/ACL/DAO/ACLCache.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACLCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:976ef3393c10c32cacd6c6405b892533)
+ * (GenCodeChecksum:85cd87cbae11f11fd5a8380c4c9c21d0)
  */
 
 /**
@@ -99,6 +99,7 @@ class CRM_ACL_DAO_ACLCache extends CRM_Core_DAO {
           'entity' => 'ACLCache',
           'bao' => 'CRM_ACL_DAO_ACLCache',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -114,6 +115,7 @@ class CRM_ACL_DAO_ACLCache extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '1.6',
         ],
         'acl_id' => [
           'name' => 'acl_id',
@@ -132,6 +134,7 @@ class CRM_ACL_DAO_ACLCache extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '1.6',
         ],
         'modified_date' => [
           'name' => 'modified_date',
@@ -144,6 +147,7 @@ class CRM_ACL_DAO_ACLCache extends CRM_Core_DAO {
           'entity' => 'ACLCache',
           'bao' => 'CRM_ACL_DAO_ACLCache',
           'localizable' => 0,
+          'add' => '1.6',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/ACL/DAO/EntityRole.php b/civicrm/CRM/ACL/DAO/EntityRole.php
index 151848107d..5ec5693623 100644
--- a/civicrm/CRM/ACL/DAO/EntityRole.php
+++ b/civicrm/CRM/ACL/DAO/EntityRole.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/EntityRole.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:72c64ec6e3120ef60450b00939325d62)
+ * (GenCodeChecksum:bbd320d9a5b41aff3899650556139132)
  */
 
 /**
@@ -105,6 +105,7 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
           'entity' => 'EntityRole',
           'bao' => 'CRM_ACL_BAO_EntityRole',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'acl_role_id' => [
           'name' => 'acl_role_id',
@@ -117,6 +118,7 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
           'entity' => 'EntityRole',
           'bao' => 'CRM_ACL_BAO_EntityRole',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -131,6 +133,7 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
           'entity' => 'EntityRole',
           'bao' => 'CRM_ACL_BAO_EntityRole',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -143,6 +146,7 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
           'entity' => 'EntityRole',
           'bao' => 'CRM_ACL_BAO_EntityRole',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -154,6 +158,7 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
           'entity' => 'EntityRole',
           'bao' => 'CRM_ACL_BAO_EntityRole',
           'localizable' => 0,
+          'add' => '1.6',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Activity/DAO/Activity.php b/civicrm/CRM/Activity/DAO/Activity.php
index 042eb4cb04..36237eb29d 100644
--- a/civicrm/CRM/Activity/DAO/Activity.php
+++ b/civicrm/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:a6494c64eb7395b2221ab118a480c951)
+ * (GenCodeChecksum:0961f1ac6aea3bcde5a477e078850c60)
  */
 
 /**
@@ -255,6 +255,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'entity' => 'Activity',
           'bao' => 'CRM_Activity_BAO_Activity',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'source_record_id' => [
           'name' => 'source_record_id',
@@ -266,6 +267,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'entity' => 'Activity',
           'bao' => 'CRM_Activity_BAO_Activity',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'activity_type_id' => [
           'name' => 'activity_type_id',
@@ -289,6 +291,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
             'optionGroupName' => 'activity_type',
             'optionEditPath' => 'civicrm/admin/options/activity_type',
           ],
+          'add' => '1.1',
         ],
         'activity_subject' => [
           'name' => 'subject',
@@ -308,6 +311,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'activity_date_time' => [
           'name' => 'activity_date_time',
@@ -326,6 +330,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '2.0',
         ],
         'activity_duration' => [
           'name' => 'duration',
@@ -343,6 +348,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'html' => [
             'type' => 'Number',
           ],
+          'add' => '2.0',
         ],
         'activity_location' => [
           'name' => 'location',
@@ -362,6 +368,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'phone_id' => [
           'name' => 'phone_id',
@@ -377,6 +384,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '2.0',
         ],
         'phone_number' => [
           'name' => 'phone_number',
@@ -393,6 +401,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.0',
         ],
         'activity_details' => [
           'name' => 'details',
@@ -410,6 +419,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '1.1',
         ],
         'activity_status_id' => [
           'name' => 'status_id',
@@ -431,6 +441,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
             'optionGroupName' => 'activity_status',
             'optionEditPath' => 'civicrm/admin/options/activity_status',
           ],
+          'add' => '2.0',
         ],
         'priority_id' => [
           'name' => 'priority_id',
@@ -451,6 +462,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
             'optionGroupName' => 'priority',
             'optionEditPath' => 'civicrm/admin/options/priority',
           ],
+          'add' => '2.0',
         ],
         'parent_id' => [
           'name' => 'parent_id',
@@ -463,6 +475,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'bao' => 'CRM_Activity_BAO_Activity',
           'localizable' => 0,
           'FKClassName' => 'CRM_Activity_DAO_Activity',
+          'add' => '1.1',
         ],
         'activity_is_test' => [
           'name' => 'is_test',
@@ -480,6 +493,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.0',
         ],
         'activity_medium_id' => [
           'name' => 'medium_id',
@@ -499,6 +513,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
             'optionGroupName' => 'encounter_medium',
             'optionEditPath' => 'civicrm/admin/options/encounter_medium',
           ],
+          'add' => '2.2',
         ],
         'is_auto' => [
           'name' => 'is_auto',
@@ -510,6 +525,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'entity' => 'Activity',
           'bao' => 'CRM_Activity_BAO_Activity',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'relationship_id' => [
           'name' => 'relationship_id',
@@ -523,6 +539,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'bao' => 'CRM_Activity_BAO_Activity',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Relationship',
+          'add' => '2.2',
         ],
         'is_current_revision' => [
           'name' => 'is_current_revision',
@@ -537,6 +554,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'entity' => 'Activity',
           'bao' => 'CRM_Activity_BAO_Activity',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'original_id' => [
           'name' => 'original_id',
@@ -549,6 +567,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'bao' => 'CRM_Activity_BAO_Activity',
           'localizable' => 0,
           'FKClassName' => 'CRM_Activity_DAO_Activity',
+          'add' => '2.2',
         ],
         'activity_result' => [
           'name' => 'result',
@@ -562,6 +581,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'entity' => 'Activity',
           'bao' => 'CRM_Activity_BAO_Activity',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'activity_is_deleted' => [
           'name' => 'is_deleted',
@@ -579,6 +599,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.2',
         ],
         'activity_campaign_id' => [
           'name' => 'campaign_id',
@@ -601,6 +622,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '3.4',
         ],
         'activity_engagement_level' => [
           'name' => 'engagement_level',
@@ -621,6 +643,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
             'optionGroupName' => 'engagement_index',
             'optionEditPath' => 'civicrm/admin/options/engagement_index',
           ],
+          'add' => '3.4',
         ],
         'weight' => [
           'name' => 'weight',
@@ -631,6 +654,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'entity' => 'Activity',
           'bao' => 'CRM_Activity_BAO_Activity',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'is_star' => [
           'name' => 'is_star',
@@ -649,6 +673,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'html' => [
             'type' => 'Checkbox',
           ],
+          'add' => '4.7',
         ],
         'activity_created_date' => [
           'name' => 'created_date',
@@ -663,6 +688,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'entity' => 'Activity',
           'bao' => 'CRM_Activity_BAO_Activity',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'activity_modified_date' => [
           'name' => 'modified_date',
@@ -677,6 +703,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
           'entity' => 'Activity',
           'bao' => 'CRM_Activity_BAO_Activity',
           'localizable' => 0,
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Activity/DAO/ActivityContact.php b/civicrm/CRM/Activity/DAO/ActivityContact.php
index 71039019af..433e63792e 100644
--- a/civicrm/CRM/Activity/DAO/ActivityContact.php
+++ b/civicrm/CRM/Activity/DAO/ActivityContact.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Activity/ActivityContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:51894f9aa59e1fed6591b4aa3632e6a6)
+ * (GenCodeChecksum:04a539640a21bec389b2a68766718975)
  */
 
 /**
@@ -99,6 +99,7 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
           'entity' => 'ActivityContact',
           'bao' => 'CRM_Activity_BAO_ActivityContact',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'activity_id' => [
           'name' => 'activity_id',
@@ -112,6 +113,7 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
           'bao' => 'CRM_Activity_BAO_ActivityContact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Activity_DAO_Activity',
+          'add' => '4.4',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -127,6 +129,7 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
           'bao' => 'CRM_Activity_BAO_ActivityContact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.4',
         ],
         'record_type_id' => [
           'name' => 'record_type_id',
@@ -145,6 +148,7 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
             'optionGroupName' => 'activity_contacts',
             'optionEditPath' => 'civicrm/admin/options/activity_contacts',
           ],
+          'add' => '4.4',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Batch/DAO/Batch.php b/civicrm/CRM/Batch/DAO/Batch.php
index cfd39dc2c0..2d86803ef6 100644
--- a/civicrm/CRM/Batch/DAO/Batch.php
+++ b/civicrm/CRM/Batch/DAO/Batch.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Batch/Batch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ec065dd0aaa794ee44d5fb2216deac3d)
+ * (GenCodeChecksum:b1da33b9a5dd284abb0fd6b9fcb3b434)
  */
 
 /**
@@ -189,6 +189,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'entity' => 'Batch',
           'bao' => 'CRM_Batch_BAO_Batch',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'name' => [
           'name' => 'name',
@@ -205,6 +206,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.3',
         ],
         'title' => [
           'name' => 'title',
@@ -221,6 +223,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.2',
         ],
         'description' => [
           'name' => 'description',
@@ -237,6 +240,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '3.3',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -249,6 +253,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'bao' => 'CRM_Batch_BAO_Batch',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.3',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -263,6 +268,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select Date',
           ],
+          'add' => '3.3',
         ],
         'modified_id' => [
           'name' => 'modified_id',
@@ -275,6 +281,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'bao' => 'CRM_Batch_BAO_Batch',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.3',
         ],
         'modified_date' => [
           'name' => 'modified_date',
@@ -286,6 +293,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'entity' => 'Batch',
           'bao' => 'CRM_Batch_BAO_Batch',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'saved_search_id' => [
           'name' => 'saved_search_id',
@@ -301,6 +309,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '4.1',
         ],
         'status_id' => [
           'name' => 'status_id',
@@ -320,6 +329,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
             'optionGroupName' => 'batch_status',
             'optionEditPath' => 'civicrm/admin/options/batch_status',
           ],
+          'add' => '4.2',
         ],
         'type_id' => [
           'name' => 'type_id',
@@ -338,6 +348,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
             'optionGroupName' => 'batch_type',
             'optionEditPath' => 'civicrm/admin/options/batch_type',
           ],
+          'add' => '4.2',
         ],
         'mode_id' => [
           'name' => 'mode_id',
@@ -356,6 +367,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
             'optionGroupName' => 'batch_mode',
             'optionEditPath' => 'civicrm/admin/options/batch_mode',
           ],
+          'add' => '4.2',
         ],
         'total' => [
           'name' => 'total',
@@ -374,6 +386,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.2',
         ],
         'item_count' => [
           'name' => 'item_count',
@@ -388,6 +401,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.2',
         ],
         'payment_instrument_id' => [
           'name' => 'payment_instrument_id',
@@ -406,6 +420,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
             'optionGroupName' => 'payment_instrument',
             'optionEditPath' => 'civicrm/admin/options/payment_instrument',
           ],
+          'add' => '4.3',
         ],
         'exported_date' => [
           'name' => 'exported_date',
@@ -416,6 +431,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'entity' => 'Batch',
           'bao' => 'CRM_Batch_BAO_Batch',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'data' => [
           'name' => 'data',
@@ -427,6 +443,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
           'entity' => 'Batch',
           'bao' => 'CRM_Batch_BAO_Batch',
           'localizable' => 0,
+          'add' => '4.4',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Batch/DAO/EntityBatch.php b/civicrm/CRM/Batch/DAO/EntityBatch.php
index 39a106071a..282a99679b 100644
--- a/civicrm/CRM/Batch/DAO/EntityBatch.php
+++ b/civicrm/CRM/Batch/DAO/EntityBatch.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Batch/EntityBatch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d086b52bbce9c11d89087feea79f1bf0)
+ * (GenCodeChecksum:d8af90cbbcd6de6c5242d184d7c54c01)
  */
 
 /**
@@ -99,6 +99,7 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO {
           'entity' => 'EntityBatch',
           'bao' => 'CRM_Batch_BAO_EntityBatch',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -112,6 +113,7 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO {
           'entity' => 'EntityBatch',
           'bao' => 'CRM_Batch_BAO_EntityBatch',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -124,6 +126,7 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO {
           'entity' => 'EntityBatch',
           'bao' => 'CRM_Batch_BAO_EntityBatch',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'batch_id' => [
           'name' => 'batch_id',
@@ -142,6 +145,7 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '3.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Campaign/DAO/Campaign.php b/civicrm/CRM/Campaign/DAO/Campaign.php
index a4679965b7..7406f952c7 100644
--- a/civicrm/CRM/Campaign/DAO/Campaign.php
+++ b/civicrm/CRM/Campaign/DAO/Campaign.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/Campaign.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f69a15a0b3ca2db78b4981c73b7d1757)
+ * (GenCodeChecksum:e47ffd839a7f43ce85c1e23e901ffda9)
  */
 
 /**
@@ -193,6 +193,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'entity' => 'Campaign',
           'bao' => 'CRM_Campaign_BAO_Campaign',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'name' => [
           'name' => 'name',
@@ -212,6 +213,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.3',
         ],
         'title' => [
           'name' => 'title',
@@ -230,6 +232,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.3',
         ],
         'description' => [
           'name' => 'description',
@@ -246,6 +249,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '3.3',
         ],
         'start_date' => [
           'name' => 'start_date',
@@ -263,6 +267,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select Date',
           ],
+          'add' => '3.3',
         ],
         'end_date' => [
           'name' => 'end_date',
@@ -280,6 +285,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select Date',
           ],
+          'add' => '3.3',
         ],
         'campaign_type_id' => [
           'name' => 'campaign_type_id',
@@ -301,6 +307,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
             'optionGroupName' => 'campaign_type',
             'optionEditPath' => 'civicrm/admin/options/campaign_type',
           ],
+          'add' => '3.3',
         ],
         'status_id' => [
           'name' => 'status_id',
@@ -322,6 +329,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
             'optionGroupName' => 'campaign_status',
             'optionEditPath' => 'civicrm/admin/options/campaign_status',
           ],
+          'add' => '3.3',
         ],
         'external_identifier' => [
           'name' => 'external_identifier',
@@ -342,6 +350,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.3',
         ],
         'parent_id' => [
           'name' => 'parent_id',
@@ -360,6 +369,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '3.3',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -375,6 +385,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '3.3',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -387,6 +398,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'bao' => 'CRM_Campaign_BAO_Campaign',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.3',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -401,6 +413,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select Date',
           ],
+          'add' => '3.3',
         ],
         'last_modified_id' => [
           'name' => 'last_modified_id',
@@ -413,6 +426,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'bao' => 'CRM_Campaign_BAO_Campaign',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.3',
         ],
         'last_modified_date' => [
           'name' => 'last_modified_date',
@@ -424,6 +438,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'entity' => 'Campaign',
           'bao' => 'CRM_Campaign_BAO_Campaign',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'goal_general' => [
           'name' => 'goal_general',
@@ -438,6 +453,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '3.4',
         ],
         'goal_revenue' => [
           'name' => 'goal_revenue',
@@ -456,6 +472,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.4',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Campaign/DAO/CampaignGroup.php b/civicrm/CRM/Campaign/DAO/CampaignGroup.php
index 3f3e3a5a53..17218e3ff6 100644
--- a/civicrm/CRM/Campaign/DAO/CampaignGroup.php
+++ b/civicrm/CRM/Campaign/DAO/CampaignGroup.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/CampaignGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5b64d5b0724ee405d4ec21c7a1ce7372)
+ * (GenCodeChecksum:62007f1aafaca1bd405f9ae765b1307d)
  */
 
 /**
@@ -106,6 +106,7 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO {
           'entity' => 'CampaignGroup',
           'bao' => 'CRM_Campaign_DAO_CampaignGroup',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'campaign_id' => [
           'name' => 'campaign_id',
@@ -124,6 +125,7 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '3.3',
         ],
         'group_type' => [
           'name' => 'group_type',
@@ -144,6 +146,7 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getCampaignGroupTypes',
           ],
+          'add' => NULL,
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -158,6 +161,7 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO {
           'entity' => 'CampaignGroup',
           'bao' => 'CRM_Campaign_DAO_CampaignGroup',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -170,6 +174,7 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO {
           'entity' => 'CampaignGroup',
           'bao' => 'CRM_Campaign_DAO_CampaignGroup',
           'localizable' => 0,
+          'add' => '3.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Campaign/DAO/Survey.php b/civicrm/CRM/Campaign/DAO/Survey.php
index fc324d9cce..62ce2d6465 100644
--- a/civicrm/CRM/Campaign/DAO/Survey.php
+++ b/civicrm/CRM/Campaign/DAO/Survey.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Campaign/Survey.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f7cedbe0c777cf7b99c543e80ff5cf0b)
+ * (GenCodeChecksum:cb384a1d50e8b48436a104c50c8c0e23)
  */
 
 /**
@@ -212,6 +212,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'title' => [
           'name' => 'title',
@@ -228,6 +229,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 1,
+          'add' => '3.3',
         ],
         'campaign_id' => [
           'name' => 'campaign_id',
@@ -246,6 +248,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '3.3',
         ],
         'activity_type_id' => [
           'name' => 'activity_type_id',
@@ -267,6 +270,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
             'optionGroupName' => 'activity_type',
             'optionEditPath' => 'civicrm/admin/options/activity_type',
           ],
+          'add' => '3.3',
         ],
         'recontact_interval' => [
           'name' => 'recontact_interval',
@@ -283,6 +287,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '3.3',
         ],
         'instructions' => [
           'name' => 'instructions',
@@ -299,6 +304,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '3.3',
         ],
         'release_frequency' => [
           'name' => 'release_frequency',
@@ -311,6 +317,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'max_number_of_contacts' => [
           'name' => 'max_number_of_contacts',
@@ -323,6 +330,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'default_number_of_contacts' => [
           'name' => 'default_number_of_contacts',
@@ -335,6 +343,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -347,6 +356,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -359,6 +369,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -371,6 +382,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.3',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -382,6 +394,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'last_modified_id' => [
           'name' => 'last_modified_id',
@@ -394,6 +407,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.3',
         ],
         'last_modified_date' => [
           'name' => 'last_modified_date',
@@ -405,6 +419,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'result_id' => [
           'name' => 'result_id',
@@ -417,6 +432,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'bypass_confirm' => [
           'name' => 'bypass_confirm',
@@ -429,6 +445,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'thankyou_title' => [
           'name' => 'thankyou_title',
@@ -442,6 +459,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 1,
+          'add' => '4.2',
         ],
         'thankyou_text' => [
           'name' => 'thankyou_text',
@@ -458,6 +476,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '4.2',
         ],
         'is_share' => [
           'name' => 'is_share',
@@ -470,6 +489,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
           'localizable' => 0,
+          'add' => '4.4',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Case/DAO/Case.php b/civicrm/CRM/Case/DAO/Case.php
index 1b89c1a00c..523d1f023e 100644
--- a/civicrm/CRM/Case/DAO/Case.php
+++ b/civicrm/CRM/Case/DAO/Case.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/Case.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:02b3ed592b9c45f74b0d398c8cf25efd)
+ * (GenCodeChecksum:a178b404d6691073bed83b62a23948fc)
  */
 
 /**
@@ -143,6 +143,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'case_type_id' => [
           'name' => 'case_type_id',
@@ -166,6 +167,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '2.0',
         ],
         'case_subject' => [
           'name' => 'subject',
@@ -184,6 +186,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'case_start_date' => [
           'name' => 'start_date',
@@ -201,6 +204,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.8',
         ],
         'case_end_date' => [
           'name' => 'end_date',
@@ -218,6 +222,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.8',
         ],
         'details' => [
           'name' => 'details',
@@ -234,6 +239,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.8',
         ],
         'case_status_id' => [
           'name' => 'status_id',
@@ -255,6 +261,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
             'optionGroupName' => 'case_status',
             'optionEditPath' => 'civicrm/admin/options/case_status',
           ],
+          'add' => '1.8',
         ],
         'case_deleted' => [
           'name' => 'is_deleted',
@@ -271,6 +278,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.2',
         ],
         'case_created_date' => [
           'name' => 'created_date',
@@ -285,6 +293,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
           'entity' => 'Case',
           'bao' => 'CRM_Case_BAO_Case',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'case_modified_date' => [
           'name' => 'modified_date',
@@ -299,6 +308,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
           'entity' => 'Case',
           'bao' => 'CRM_Case_BAO_Case',
           'localizable' => 0,
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Case/DAO/CaseActivity.php b/civicrm/CRM/Case/DAO/CaseActivity.php
index c2a0755fb6..bdb2d2d75d 100644
--- a/civicrm/CRM/Case/DAO/CaseActivity.php
+++ b/civicrm/CRM/Case/DAO/CaseActivity.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseActivity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:555cd1b20eead1100aa77725a7dd2057)
+ * (GenCodeChecksum:fb0c2ef73f9d8d7bbbb2af6ba8dc4333)
  */
 
 /**
@@ -92,6 +92,7 @@ class CRM_Case_DAO_CaseActivity extends CRM_Core_DAO {
           'entity' => 'CaseActivity',
           'bao' => 'CRM_Case_DAO_CaseActivity',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'case_id' => [
           'name' => 'case_id',
@@ -105,6 +106,7 @@ class CRM_Case_DAO_CaseActivity extends CRM_Core_DAO {
           'bao' => 'CRM_Case_DAO_CaseActivity',
           'localizable' => 0,
           'FKClassName' => 'CRM_Case_DAO_Case',
+          'add' => '1.8',
         ],
         'activity_id' => [
           'name' => 'activity_id',
@@ -118,6 +120,7 @@ class CRM_Case_DAO_CaseActivity extends CRM_Core_DAO {
           'bao' => 'CRM_Case_DAO_CaseActivity',
           'localizable' => 0,
           'FKClassName' => 'CRM_Activity_DAO_Activity',
+          'add' => '2.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Case/DAO/CaseContact.php b/civicrm/CRM/Case/DAO/CaseContact.php
index b9050ee694..a6c95ece29 100644
--- a/civicrm/CRM/Case/DAO/CaseContact.php
+++ b/civicrm/CRM/Case/DAO/CaseContact.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:882177c38c507306b2a456e4cf0303fa)
+ * (GenCodeChecksum:ef8dc427e850f01fda57aa9d25dcab19)
  */
 
 /**
@@ -92,6 +92,7 @@ class CRM_Case_DAO_CaseContact extends CRM_Core_DAO {
           'entity' => 'CaseContact',
           'bao' => 'CRM_Case_BAO_CaseContact',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'case_id' => [
           'name' => 'case_id',
@@ -105,6 +106,7 @@ class CRM_Case_DAO_CaseContact extends CRM_Core_DAO {
           'bao' => 'CRM_Case_BAO_CaseContact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Case_DAO_Case',
+          'add' => '2.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -121,6 +123,7 @@ class CRM_Case_DAO_CaseContact extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '2.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Case/DAO/CaseType.php b/civicrm/CRM/Case/DAO/CaseType.php
index 990d3337cb..1c70b18267 100644
--- a/civicrm/CRM/Case/DAO/CaseType.php
+++ b/civicrm/CRM/Case/DAO/CaseType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Case/CaseType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dfde3b4da5d2f8fd1d41d48398c86e46)
+ * (GenCodeChecksum:de405465ee3798e2f6692fb22614b003)
  */
 
 /**
@@ -111,6 +111,7 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO {
           'entity' => 'CaseType',
           'bao' => 'CRM_Case_BAO_CaseType',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'name' => [
           'name' => 'name',
@@ -125,6 +126,7 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO {
           'entity' => 'CaseType',
           'bao' => 'CRM_Case_BAO_CaseType',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'title' => [
           'name' => 'title',
@@ -139,6 +141,7 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO {
           'entity' => 'CaseType',
           'bao' => 'CRM_Case_BAO_CaseType',
           'localizable' => 1,
+          'add' => '4.5',
         ],
         'description' => [
           'name' => 'description',
@@ -152,6 +155,7 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO {
           'entity' => 'CaseType',
           'bao' => 'CRM_Case_BAO_CaseType',
           'localizable' => 1,
+          'add' => '4.5',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -163,6 +167,7 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO {
           'entity' => 'CaseType',
           'bao' => 'CRM_Case_BAO_CaseType',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -174,6 +179,7 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO {
           'entity' => 'CaseType',
           'bao' => 'CRM_Case_BAO_CaseType',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'weight' => [
           'name' => 'weight',
@@ -187,6 +193,7 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO {
           'entity' => 'CaseType',
           'bao' => 'CRM_Case_BAO_CaseType',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'definition' => [
           'name' => 'definition',
@@ -198,6 +205,7 @@ class CRM_Case_DAO_CaseType extends CRM_Core_DAO {
           'entity' => 'CaseType',
           'bao' => 'CRM_Case_BAO_CaseType',
           'localizable' => 0,
+          'add' => '4.5',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contact/DAO/ACLContactCache.php b/civicrm/CRM/Contact/DAO/ACLContactCache.php
index f415342513..9e3ae7bc2d 100644
--- a/civicrm/CRM/Contact/DAO/ACLContactCache.php
+++ b/civicrm/CRM/Contact/DAO/ACLContactCache.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ACLContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:74b0413eb512bbd0ecddcb1391ce3c3b)
+ * (GenCodeChecksum:dfcbb579c583b1b7ff8654dfaa4d12ed)
  */
 
 /**
@@ -98,6 +98,7 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO {
           'entity' => 'ACLContactCache',
           'bao' => 'CRM_Contact_DAO_ACLContactCache',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'user_id' => [
           'name' => 'user_id',
@@ -109,6 +110,7 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO {
           'entity' => 'ACLContactCache',
           'bao' => 'CRM_Contact_DAO_ACLContactCache',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -122,6 +124,7 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_DAO_ACLContactCache',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.1',
         ],
         'operation' => [
           'name' => 'operation',
@@ -142,6 +145,7 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_ACL_BAO_ACL::operation',
           ],
+          'add' => '1.6',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contact/DAO/Contact.php b/civicrm/CRM/Contact/DAO/Contact.php
index 7acdddd04c..6b3e32a952 100644
--- a/civicrm/CRM/Contact/DAO/Contact.php
+++ b/civicrm/CRM/Contact/DAO/Contact.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Contact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e811ca59eee757951e6e190a318f9749)
+ * (GenCodeChecksum:d0ae33d9d0b2f672d5e4e722982b3a54)
  */
 
 /**
@@ -424,6 +424,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'entity' => 'Contact',
           'bao' => 'CRM_Contact_BAO_Contact',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'contact_type' => [
           'name' => 'contact_type',
@@ -448,6 +449,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
             'labelColumn' => 'label',
             'condition' => 'parent_id IS NULL',
           ],
+          'add' => '1.1',
         ],
         'contact_sub_type' => [
           'name' => 'contact_sub_type',
@@ -474,6 +476,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
             'labelColumn' => 'label',
             'condition' => 'parent_id IS NOT NULL',
           ],
+          'add' => '1.5',
         ],
         'do_not_email' => [
           'name' => 'do_not_email',
@@ -492,6 +495,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.1',
         ],
         'do_not_phone' => [
           'name' => 'do_not_phone',
@@ -510,6 +514,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.1',
         ],
         'do_not_mail' => [
           'name' => 'do_not_mail',
@@ -528,6 +533,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.1',
         ],
         'do_not_sms' => [
           'name' => 'do_not_sms',
@@ -546,6 +552,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '3.0',
         ],
         'do_not_trade' => [
           'name' => 'do_not_trade',
@@ -564,6 +571,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.1',
         ],
         'is_opt_out' => [
           'name' => 'is_opt_out',
@@ -582,6 +590,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.1',
         ],
         'legal_identifier' => [
           'name' => 'legal_identifier',
@@ -602,6 +611,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'external_identifier' => [
           'name' => 'external_identifier',
@@ -622,6 +632,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'sort_name' => [
           'name' => 'sort_name',
@@ -639,6 +650,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'display_name' => [
           'name' => 'display_name',
@@ -656,6 +668,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'nick_name' => [
           'name' => 'nick_name',
@@ -676,6 +689,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'legal_name' => [
           'name' => 'legal_name',
@@ -696,6 +710,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'image_URL' => [
           'name' => 'image_URL',
@@ -712,6 +727,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'File',
           ],
+          'add' => '1.1',
         ],
         'preferred_communication_method' => [
           'name' => 'preferred_communication_method',
@@ -737,6 +753,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
             'optionGroupName' => 'preferred_communication_method',
             'optionEditPath' => 'civicrm/admin/options/preferred_communication_method',
           ],
+          'add' => '1.1',
         ],
         'preferred_language' => [
           'name' => 'preferred_language',
@@ -761,6 +778,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
             'keyColumn' => 'name',
             'optionEditPath' => 'civicrm/admin/options/languages',
           ],
+          'add' => '3.2',
         ],
         'preferred_mail_format' => [
           'name' => 'preferred_mail_format',
@@ -784,6 +802,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::pmf',
           ],
+          'add' => '1.1',
         ],
         'hash' => [
           'name' => 'hash',
@@ -798,6 +817,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'entity' => 'Contact',
           'bao' => 'CRM_Contact_BAO_Contact',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'api_key' => [
           'name' => 'api_key',
@@ -817,6 +837,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'entity' => 'Contact',
           'bao' => 'CRM_Contact_BAO_Contact',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'contact_source' => [
           'name' => 'source',
@@ -836,6 +857,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'first_name' => [
           'name' => 'first_name',
@@ -857,6 +879,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'middle_name' => [
           'name' => 'middle_name',
@@ -878,6 +901,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'last_name' => [
           'name' => 'last_name',
@@ -899,6 +923,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'prefix_id' => [
           'name' => 'prefix_id',
@@ -922,6 +947,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
             'optionGroupName' => 'individual_prefix',
             'optionEditPath' => 'civicrm/admin/options/individual_prefix',
           ],
+          'add' => '1.2',
         ],
         'suffix_id' => [
           'name' => 'suffix_id',
@@ -945,6 +971,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
             'optionGroupName' => 'individual_suffix',
             'optionEditPath' => 'civicrm/admin/options/individual_suffix',
           ],
+          'add' => '1.2',
         ],
         'formal_title' => [
           'name' => 'formal_title',
@@ -965,6 +992,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.5',
         ],
         'communication_style_id' => [
           'name' => 'communication_style_id',
@@ -986,6 +1014,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
             'optionGroupName' => 'communication_style',
             'optionEditPath' => 'civicrm/admin/options/communication_style',
           ],
+          'add' => '4.4',
         ],
         'email_greeting_id' => [
           'name' => 'email_greeting_id',
@@ -1005,6 +1034,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
             'optionGroupName' => 'email_greeting',
             'optionEditPath' => 'civicrm/admin/options/email_greeting',
           ],
+          'add' => '3.0',
         ],
         'email_greeting_custom' => [
           'name' => 'email_greeting_custom',
@@ -1023,6 +1053,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.0',
         ],
         'email_greeting_display' => [
           'name' => 'email_greeting_display',
@@ -1036,6 +1067,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'entity' => 'Contact',
           'bao' => 'CRM_Contact_BAO_Contact',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'postal_greeting_id' => [
           'name' => 'postal_greeting_id',
@@ -1055,6 +1087,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
             'optionGroupName' => 'postal_greeting',
             'optionEditPath' => 'civicrm/admin/options/postal_greeting',
           ],
+          'add' => '3.0',
         ],
         'postal_greeting_custom' => [
           'name' => 'postal_greeting_custom',
@@ -1073,6 +1106,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.0',
         ],
         'postal_greeting_display' => [
           'name' => 'postal_greeting_display',
@@ -1086,6 +1120,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'entity' => 'Contact',
           'bao' => 'CRM_Contact_BAO_Contact',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'addressee_id' => [
           'name' => 'addressee_id',
@@ -1105,6 +1140,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
             'optionGroupName' => 'addressee',
             'optionEditPath' => 'civicrm/admin/options/addressee',
           ],
+          'add' => '3.0',
         ],
         'addressee_custom' => [
           'name' => 'addressee_custom',
@@ -1123,6 +1159,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.0',
         ],
         'addressee_display' => [
           'name' => 'addressee_display',
@@ -1136,6 +1173,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'entity' => 'Contact',
           'bao' => 'CRM_Contact_BAO_Contact',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'job_title' => [
           'name' => 'job_title',
@@ -1157,6 +1195,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'gender_id' => [
           'name' => 'gender_id',
@@ -1179,6 +1218,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
             'optionGroupName' => 'gender',
             'optionEditPath' => 'civicrm/admin/options/gender',
           ],
+          'add' => '1.2',
         ],
         'birth_date' => [
           'name' => 'birth_date',
@@ -1199,6 +1239,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'birth',
           ],
+          'add' => '1.1',
         ],
         'is_deceased' => [
           'name' => 'is_deceased',
@@ -1218,6 +1259,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.1',
         ],
         'deceased_date' => [
           'name' => 'deceased_date',
@@ -1237,6 +1279,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'birth',
           ],
+          'add' => '1.5',
         ],
         'household_name' => [
           'name' => 'household_name',
@@ -1258,6 +1301,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'primary_contact_id' => [
           'name' => 'primary_contact_id',
@@ -1271,6 +1315,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_Contact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '1.1',
         ],
         'organization_name' => [
           'name' => 'organization_name',
@@ -1292,6 +1337,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'sic_code' => [
           'name' => 'sic_code',
@@ -1312,6 +1358,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'user_unique_id' => [
           'name' => 'user_unique_id',
@@ -1333,6 +1380,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.0',
         ],
         'current_employer_id' => [
           'name' => 'employer_id',
@@ -1350,6 +1398,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '2.1',
         ],
         'contact_is_deleted' => [
           'name' => 'is_deleted',
@@ -1366,6 +1415,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '3.2',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -1380,6 +1430,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'entity' => 'Contact',
           'bao' => 'CRM_Contact_BAO_Contact',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'modified_date' => [
           'name' => 'modified_date',
@@ -1394,6 +1445,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'entity' => 'Contact',
           'bao' => 'CRM_Contact_BAO_Contact',
           'localizable' => 0,
+          'add' => '4.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contact/DAO/ContactType.php b/civicrm/CRM/Contact/DAO/ContactType.php
index b8fbb30568..a84b9859bc 100644
--- a/civicrm/CRM/Contact/DAO/ContactType.php
+++ b/civicrm/CRM/Contact/DAO/ContactType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ContactType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3ad338181596a9b5e3a9f6549fd381c9)
+ * (GenCodeChecksum:b9b583a10f6daa3b8135f58c04ce94cc)
  */
 
 /**
@@ -126,6 +126,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
           'entity' => 'ContactType',
           'bao' => 'CRM_Contact_BAO_ContactType',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'name' => [
           'name' => 'name',
@@ -139,6 +140,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
           'entity' => 'ContactType',
           'bao' => 'CRM_Contact_BAO_ContactType',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'label' => [
           'name' => 'label',
@@ -152,6 +154,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
           'entity' => 'ContactType',
           'bao' => 'CRM_Contact_BAO_ContactType',
           'localizable' => 1,
+          'add' => '3.1',
         ],
         'description' => [
           'name' => 'description',
@@ -168,6 +171,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '3.1',
         ],
         'image_URL' => [
           'name' => 'image_URL',
@@ -181,6 +185,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
           'entity' => 'ContactType',
           'bao' => 'CRM_Contact_BAO_ContactType',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'parent_id' => [
           'name' => 'parent_id',
@@ -199,6 +204,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
             'labelColumn' => 'label',
             'condition' => 'parent_id IS NULL',
           ],
+          'add' => '3.1',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -210,6 +216,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
           'entity' => 'ContactType',
           'bao' => 'CRM_Contact_BAO_ContactType',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -221,6 +228,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
           'entity' => 'ContactType',
           'bao' => 'CRM_Contact_BAO_ContactType',
           'localizable' => 0,
+          'add' => '3.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contact/DAO/DashboardContact.php b/civicrm/CRM/Contact/DAO/DashboardContact.php
index 1e890bdd2f..f65bc45c12 100644
--- a/civicrm/CRM/Contact/DAO/DashboardContact.php
+++ b/civicrm/CRM/Contact/DAO/DashboardContact.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/DashboardContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:65a1fcc31732f320ae7193e2a111f72b)
+ * (GenCodeChecksum:090306cc1144b369709a5dfc3bb44aa1)
  */
 
 /**
@@ -110,6 +110,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
           'entity' => 'DashboardContact',
           'bao' => 'CRM_Contact_BAO_DashboardContact',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'dashboard_id' => [
           'name' => 'dashboard_id',
@@ -123,6 +124,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_DashboardContact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Dashboard',
+          'add' => '3.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -136,6 +138,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_DashboardContact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.1',
         ],
         'column_no' => [
           'name' => 'column_no',
@@ -148,6 +151,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
           'entity' => 'DashboardContact',
           'bao' => 'CRM_Contact_BAO_DashboardContact',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -160,6 +164,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
           'entity' => 'DashboardContact',
           'bao' => 'CRM_Contact_BAO_DashboardContact',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'weight' => [
           'name' => 'weight',
@@ -172,6 +177,7 @@ class CRM_Contact_DAO_DashboardContact extends CRM_Core_DAO {
           'entity' => 'DashboardContact',
           'bao' => 'CRM_Contact_BAO_DashboardContact',
           'localizable' => 0,
+          'add' => '3.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contact/DAO/Group.php b/civicrm/CRM/Contact/DAO/Group.php
index ac08331c79..8f596b17dc 100644
--- a/civicrm/CRM/Contact/DAO/Group.php
+++ b/civicrm/CRM/Contact/DAO/Group.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Group.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d166e1dc365b62901602a50d4fb8b727)
+ * (GenCodeChecksum:24ebd11f8542ff4eb8f2ec45adfb86ed)
  */
 
 /**
@@ -210,6 +210,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'entity' => 'Group',
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'name' => [
           'name' => 'name',
@@ -223,6 +224,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'entity' => 'Group',
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'title' => [
           'name' => 'title',
@@ -239,6 +241,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'description' => [
           'name' => 'description',
@@ -255,6 +258,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.1',
         ],
         'source' => [
           'name' => 'source',
@@ -268,6 +272,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'entity' => 'Group',
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'saved_search_id' => [
           'name' => 'saved_search_id',
@@ -280,6 +285,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_SavedSearch',
+          'add' => '1.1',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -291,6 +297,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'entity' => 'Group',
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'visibility' => [
           'name' => 'visibility',
@@ -311,6 +318,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::groupVisibility',
           ],
+          'add' => '1.2',
         ],
         'where_clause' => [
           'name' => 'where_clause',
@@ -322,6 +330,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'entity' => 'Group',
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'select_tables' => [
           'name' => 'select_tables',
@@ -334,6 +343,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_PHP,
+          'add' => '1.6',
         ],
         'where_tables' => [
           'name' => 'where_tables',
@@ -346,6 +356,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_PHP,
+          'add' => '1.6',
         ],
         'group_type' => [
           'name' => 'group_type',
@@ -364,6 +375,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
             'optionGroupName' => 'group_type',
             'optionEditPath' => 'civicrm/admin/options/group_type',
           ],
+          'add' => '1.9',
         ],
         'cache_date' => [
           'name' => 'cache_date',
@@ -376,6 +388,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'entity' => 'Group',
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'refresh_date' => [
           'name' => 'refresh_date',
@@ -388,6 +401,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'entity' => 'Group',
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'parents' => [
           'name' => 'parents',
@@ -403,6 +417,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_PseudoConstant::allGroup',
           ],
+          'add' => '2.1',
         ],
         'children' => [
           'name' => 'children',
@@ -414,6 +429,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'entity' => 'Group',
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'is_hidden' => [
           'name' => 'is_hidden',
@@ -426,6 +442,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'entity' => 'Group',
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -437,6 +454,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'entity' => 'Group',
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -449,6 +467,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.3',
         ],
         'modified_id' => [
           'name' => 'modified_id',
@@ -461,6 +480,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_Group',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.5',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contact/DAO/GroupContact.php b/civicrm/CRM/Contact/DAO/GroupContact.php
index 6eac2f5d0f..006a5d2bae 100644
--- a/civicrm/CRM/Contact/DAO/GroupContact.php
+++ b/civicrm/CRM/Contact/DAO/GroupContact.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dcc7fe36954bd34340026bb6af5235ef)
+ * (GenCodeChecksum:eb0a2888632694a9be57b0814109b333)
  */
 
 /**
@@ -115,6 +115,7 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
           'entity' => 'GroupContact',
           'bao' => 'CRM_Contact_BAO_GroupContact',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'group_id' => [
           'name' => 'group_id',
@@ -136,6 +137,7 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '1.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -149,6 +151,7 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_GroupContact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '1.1',
         ],
         'status' => [
           'name' => 'status',
@@ -168,6 +171,7 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::groupContactStatus',
           ],
+          'add' => '1.1',
         ],
         'location_id' => [
           'name' => 'location_id',
@@ -180,6 +184,7 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_GroupContact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_LocBlock',
+          'add' => '1.1',
         ],
         'email_id' => [
           'name' => 'email_id',
@@ -192,6 +197,7 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_GroupContact',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Email',
+          'add' => '1.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contact/DAO/GroupContactCache.php b/civicrm/CRM/Contact/DAO/GroupContactCache.php
index 621584fd56..ba162cf32e 100644
--- a/civicrm/CRM/Contact/DAO/GroupContactCache.php
+++ b/civicrm/CRM/Contact/DAO/GroupContactCache.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e0978847d01b9b3f7819759f8171344c)
+ * (GenCodeChecksum:f6b8182b338b47bf0a11c41a4cf1bba1)
  */
 
 /**
@@ -92,6 +92,7 @@ class CRM_Contact_DAO_GroupContactCache extends CRM_Core_DAO {
           'entity' => 'GroupContactCache',
           'bao' => 'CRM_Contact_BAO_GroupContactCache',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'group_id' => [
           'name' => 'group_id',
@@ -113,6 +114,7 @@ class CRM_Contact_DAO_GroupContactCache extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '2.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -126,6 +128,7 @@ class CRM_Contact_DAO_GroupContactCache extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_GroupContactCache',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '2.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contact/DAO/GroupNesting.php b/civicrm/CRM/Contact/DAO/GroupNesting.php
index ffa4501a3b..bc0b5ed4a5 100644
--- a/civicrm/CRM/Contact/DAO/GroupNesting.php
+++ b/civicrm/CRM/Contact/DAO/GroupNesting.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupNesting.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3dbfee8b12a7e1edeaaf4ead4e48db7e)
+ * (GenCodeChecksum:77e51345092d091805f377afa04be903)
  */
 
 /**
@@ -92,6 +92,7 @@ class CRM_Contact_DAO_GroupNesting extends CRM_Core_DAO {
           'entity' => 'GroupNesting',
           'bao' => 'CRM_Contact_BAO_GroupNesting',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'child_group_id' => [
           'name' => 'child_group_id',
@@ -105,6 +106,7 @@ class CRM_Contact_DAO_GroupNesting extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_GroupNesting',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Group',
+          'add' => '2.0',
         ],
         'parent_group_id' => [
           'name' => 'parent_group_id',
@@ -118,6 +120,7 @@ class CRM_Contact_DAO_GroupNesting extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_GroupNesting',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Group',
+          'add' => '2.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contact/DAO/GroupOrganization.php b/civicrm/CRM/Contact/DAO/GroupOrganization.php
index 712628dc3b..3cb8b3eb26 100644
--- a/civicrm/CRM/Contact/DAO/GroupOrganization.php
+++ b/civicrm/CRM/Contact/DAO/GroupOrganization.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupOrganization.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fad51ea5930a191661af5319a25e99c7)
+ * (GenCodeChecksum:fd9947c8aebcb119bfd5094e177ed567)
  */
 
 /**
@@ -92,6 +92,7 @@ class CRM_Contact_DAO_GroupOrganization extends CRM_Core_DAO {
           'entity' => 'GroupOrganization',
           'bao' => 'CRM_Contact_BAO_GroupOrganization',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'group_id' => [
           'name' => 'group_id',
@@ -113,6 +114,7 @@ class CRM_Contact_DAO_GroupOrganization extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '2.0',
         ],
         'organization_id' => [
           'name' => 'organization_id',
@@ -126,6 +128,7 @@ class CRM_Contact_DAO_GroupOrganization extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_GroupOrganization',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '2.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contact/DAO/Relationship.php b/civicrm/CRM/Contact/DAO/Relationship.php
index 3602e3afd1..7aa3d72b40 100644
--- a/civicrm/CRM/Contact/DAO/Relationship.php
+++ b/civicrm/CRM/Contact/DAO/Relationship.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/Relationship.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:376227269d8c1c224c357387d0862a9f)
+ * (GenCodeChecksum:b09b053de49c264e26a76973310e31a1)
  */
 
 /**
@@ -150,6 +150,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
           'entity' => 'Relationship',
           'bao' => 'CRM_Contact_BAO_Relationship',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'contact_id_a' => [
           'name' => 'contact_id_a',
@@ -163,6 +164,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_Relationship',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '1.1',
         ],
         'contact_id_b' => [
           'name' => 'contact_id_b',
@@ -179,6 +181,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '1.1',
         ],
         'relationship_type_id' => [
           'name' => 'relationship_type_id',
@@ -195,6 +198,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '1.1',
         ],
         'relationship_start_date' => [
           'name' => 'start_date',
@@ -210,6 +214,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.1',
         ],
         'relationship_end_date' => [
           'name' => 'end_date',
@@ -225,6 +230,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.1',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -240,6 +246,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.1',
         ],
         'description' => [
           'name' => 'description',
@@ -256,6 +263,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.5',
         ],
         'is_permission_a_b' => [
           'name' => 'is_permission_a_b',
@@ -275,6 +283,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getPermissionedRelationshipOptions',
           ],
+          'add' => '2.1',
         ],
         'is_permission_b_a' => [
           'name' => 'is_permission_b_a',
@@ -294,6 +303,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getPermissionedRelationshipOptions',
           ],
+          'add' => '2.1',
         ],
         'case_id' => [
           'name' => 'case_id',
@@ -307,6 +317,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_Relationship',
           'localizable' => 0,
           'FKClassName' => 'CRM_Case_DAO_Case',
+          'add' => '2.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contact/DAO/RelationshipType.php b/civicrm/CRM/Contact/DAO/RelationshipType.php
index b0b7bb8300..4454fc411e 100644
--- a/civicrm/CRM/Contact/DAO/RelationshipType.php
+++ b/civicrm/CRM/Contact/DAO/RelationshipType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/RelationshipType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:727adcb362121a8c027992f37aa8e7f6)
+ * (GenCodeChecksum:a2e95b1137f27e32b49d323934402f23)
  */
 
 /**
@@ -139,6 +139,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
           'entity' => 'RelationshipType',
           'bao' => 'CRM_Contact_BAO_RelationshipType',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'name_a_b' => [
           'name' => 'name_a_b',
@@ -152,6 +153,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
           'entity' => 'RelationshipType',
           'bao' => 'CRM_Contact_BAO_RelationshipType',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'label_a_b' => [
           'name' => 'label_a_b',
@@ -168,6 +170,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.0',
         ],
         'name_b_a' => [
           'name' => 'name_b_a',
@@ -181,6 +184,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
           'entity' => 'RelationshipType',
           'bao' => 'CRM_Contact_BAO_RelationshipType',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'label_b_a' => [
           'name' => 'label_b_a',
@@ -197,6 +201,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.0',
         ],
         'description' => [
           'name' => 'description',
@@ -213,6 +218,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'contact_type_a' => [
           'name' => 'contact_type_a',
@@ -235,6 +241,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
             'labelColumn' => 'label',
             'condition' => 'parent_id IS NULL',
           ],
+          'add' => '1.1',
         ],
         'contact_type_b' => [
           'name' => 'contact_type_b',
@@ -257,6 +264,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
             'labelColumn' => 'label',
             'condition' => 'parent_id IS NULL',
           ],
+          'add' => '1.1',
         ],
         'contact_sub_type_a' => [
           'name' => 'contact_sub_type_a',
@@ -279,6 +287,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
             'labelColumn' => 'label',
             'condition' => 'parent_id IS NOT NULL',
           ],
+          'add' => '3.1',
         ],
         'contact_sub_type_b' => [
           'name' => 'contact_sub_type_b',
@@ -301,6 +310,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
             'labelColumn' => 'label',
             'condition' => 'parent_id IS NOT NULL',
           ],
+          'add' => '3.1',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -315,6 +325,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.1',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -330,6 +341,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contact/DAO/SavedSearch.php b/civicrm/CRM/Contact/DAO/SavedSearch.php
index f607b006b0..a263872771 100644
--- a/civicrm/CRM/Contact/DAO/SavedSearch.php
+++ b/civicrm/CRM/Contact/DAO/SavedSearch.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/SavedSearch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a60876bf99e330f6a463247686a92f31)
+ * (GenCodeChecksum:f9abe204c53fc92230e08dd82f1258f3)
  */
 
 /**
@@ -112,6 +112,7 @@ class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO {
           'entity' => 'SavedSearch',
           'bao' => 'CRM_Contact_BAO_SavedSearch',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'form_values' => [
           'name' => 'form_values',
@@ -126,6 +127,7 @@ class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_SavedSearch',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_PHP,
+          'add' => '1.1',
         ],
         'mapping_id' => [
           'name' => 'mapping_id',
@@ -138,6 +140,7 @@ class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_SavedSearch',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Mapping',
+          'add' => '1.5',
         ],
         'search_custom_id' => [
           'name' => 'search_custom_id',
@@ -149,6 +152,7 @@ class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO {
           'entity' => 'SavedSearch',
           'bao' => 'CRM_Contact_BAO_SavedSearch',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'api_entity' => [
           'name' => 'api_entity',
@@ -162,6 +166,7 @@ class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO {
           'entity' => 'SavedSearch',
           'bao' => 'CRM_Contact_BAO_SavedSearch',
           'localizable' => 0,
+          'add' => '5.24',
         ],
         'api_params' => [
           'name' => 'api_params',
@@ -174,6 +179,7 @@ class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_SavedSearch',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_JSON,
+          'add' => '5.24',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contact/DAO/SubscriptionHistory.php b/civicrm/CRM/Contact/DAO/SubscriptionHistory.php
index 29f6238d9f..9812ef74bd 100644
--- a/civicrm/CRM/Contact/DAO/SubscriptionHistory.php
+++ b/civicrm/CRM/Contact/DAO/SubscriptionHistory.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:28bbce4d536484d73c7ade80e3ec9448)
+ * (GenCodeChecksum:a25ce20d3b6724d4058d350b14bb02fc)
  */
 
 /**
@@ -120,6 +120,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
           'entity' => 'SubscriptionHistory',
           'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -133,6 +134,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
           'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '1.1',
         ],
         'group_id' => [
           'name' => 'group_id',
@@ -153,6 +155,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '1.1',
         ],
         'date' => [
           'name' => 'date',
@@ -166,6 +169,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
           'entity' => 'SubscriptionHistory',
           'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'method' => [
           'name' => 'method',
@@ -185,6 +189,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getSubscriptionHistoryMethods',
           ],
+          'add' => '1.1',
         ],
         'status' => [
           'name' => 'status',
@@ -201,6 +206,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::groupContactStatus',
           ],
+          'add' => '1.1',
         ],
         'tracking' => [
           'name' => 'tracking',
@@ -214,6 +220,7 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
           'entity' => 'SubscriptionHistory',
           'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
           'localizable' => 0,
+          'add' => '1.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contribute/DAO/Contribution.php b/civicrm/CRM/Contribute/DAO/Contribution.php
index 8d736f25f1..9558556a5c 100644
--- a/civicrm/CRM/Contribute/DAO/Contribution.php
+++ b/civicrm/CRM/Contribute/DAO/Contribution.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Contribution.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0954aa2ae3574927fda6614f14168fc8)
+ * (GenCodeChecksum:3787b0868aafc9587a3ee8c0710be806)
  */
 
 /**
@@ -285,6 +285,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'contribution_contact_id' => [
           'name' => 'contact_id',
@@ -305,6 +306,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '1.3',
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -326,6 +328,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'contribution_page_id' => [
           'name' => 'contribution_page_id',
@@ -348,6 +351,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '1.5',
         ],
         'payment_instrument_id' => [
           'name' => 'payment_instrument_id',
@@ -368,6 +372,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'optionGroupName' => 'payment_instrument',
             'optionEditPath' => 'civicrm/admin/options/payment_instrument',
           ],
+          'add' => '1.3',
         ],
         'receive_date' => [
           'name' => 'receive_date',
@@ -387,6 +392,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.3',
         ],
         'non_deductible_amount' => [
           'name' => 'non_deductible_amount',
@@ -410,6 +416,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'total_amount' => [
           'name' => 'total_amount',
@@ -433,6 +440,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'fee_amount' => [
           'name' => 'fee_amount',
@@ -455,6 +463,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'net_amount' => [
           'name' => 'net_amount',
@@ -477,6 +486,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'trxn_id' => [
           'name' => 'trxn_id',
@@ -496,6 +506,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'invoice_id' => [
           'name' => 'invoice_id',
@@ -515,6 +526,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'invoice_number' => [
           'name' => 'invoice_number',
@@ -534,6 +546,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.7',
         ],
         'currency' => [
           'name' => 'currency',
@@ -562,6 +575,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '1.3',
         ],
         'contribution_cancel_date' => [
           'name' => 'cancel_date',
@@ -581,6 +595,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.3',
         ],
         'cancel_reason' => [
           'name' => 'cancel_reason',
@@ -597,6 +612,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'receipt_date' => [
           'name' => 'receipt_date',
@@ -616,6 +632,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.3',
         ],
         'thankyou_date' => [
           'name' => 'thankyou_date',
@@ -635,6 +652,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.3',
         ],
         'contribution_source' => [
           'name' => 'source',
@@ -654,6 +672,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'amount_level' => [
           'name' => 'amount_level',
@@ -669,6 +688,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'contribution_recur_id' => [
           'name' => 'contribution_recur_id',
@@ -682,6 +702,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_Contribution',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_ContributionRecur',
+          'add' => '1.4',
         ],
         'is_test' => [
           'name' => 'is_test',
@@ -698,6 +719,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => NULL,
         ],
         'is_pay_later' => [
           'name' => 'is_pay_later',
@@ -714,6 +736,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.1',
         ],
         'contribution_status_id' => [
           'name' => 'contribution_status_id',
@@ -735,6 +758,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'optionGroupName' => 'contribution_status',
             'optionEditPath' => 'civicrm/admin/options/contribution_status',
           ],
+          'add' => '1.6',
         ],
         'contribution_address_id' => [
           'name' => 'address_id',
@@ -748,6 +772,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_Contribution',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Address',
+          'add' => '2.2',
         ],
         'contribution_check_number' => [
           'name' => 'check_number',
@@ -766,6 +791,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'contribution_campaign_id' => [
           'name' => 'campaign_id',
@@ -788,6 +814,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '3.4',
         ],
         'creditnote_id' => [
           'name' => 'creditnote_id',
@@ -807,6 +834,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.6',
         ],
         'tax_amount' => [
           'name' => 'tax_amount',
@@ -829,6 +857,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.6',
         ],
         'revenue_recognition_date' => [
           'name' => 'revenue_recognition_date',
@@ -848,6 +877,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '4.7',
         ],
         'is_template' => [
           'name' => 'is_template',
@@ -865,6 +895,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '5.20',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contribute/DAO/ContributionPage.php b/civicrm/CRM/Contribute/DAO/ContributionPage.php
index 7f73b6daa3..3cb36fce77 100644
--- a/civicrm/CRM/Contribute/DAO/ContributionPage.php
+++ b/civicrm/CRM/Contribute/DAO/ContributionPage.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionPage.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:382259aca3342191a285c0984cab168b)
+ * (GenCodeChecksum:a25d68d11ca748393bdb78a020360846)
  */
 
 /**
@@ -394,6 +394,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'title' => [
           'name' => 'title',
@@ -407,6 +408,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 1,
+          'add' => '1.3',
         ],
         'intro_text' => [
           'name' => 'intro_text',
@@ -423,6 +425,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '1.3',
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -443,6 +446,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'payment_processor' => [
           'name' => 'payment_processor',
@@ -464,6 +468,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '1.8',
         ],
         'is_credit_card_only' => [
           'name' => 'is_credit_card_only',
@@ -476,6 +481,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'is_monetary' => [
           'name' => 'is_monetary',
@@ -488,6 +494,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'is_recur' => [
           'name' => 'is_recur',
@@ -500,6 +507,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'is_confirm_enabled' => [
           'name' => 'is_confirm_enabled',
@@ -512,6 +520,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'recur_frequency_unit' => [
           'name' => 'recur_frequency_unit',
@@ -534,6 +543,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
             'keyColumn' => 'name',
             'optionEditPath' => 'civicrm/admin/options/recur_frequency_units',
           ],
+          'add' => '2.1',
         ],
         'is_recur_interval' => [
           'name' => 'is_recur_interval',
@@ -546,6 +556,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'is_recur_installments' => [
           'name' => 'is_recur_installments',
@@ -558,6 +569,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'adjust_recur_start_date' => [
           'name' => 'adjust_recur_start_date',
@@ -570,6 +582,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'is_pay_later' => [
           'name' => 'is_pay_later',
@@ -582,6 +595,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'pay_later_text' => [
           'name' => 'pay_later_text',
@@ -593,6 +607,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 1,
+          'add' => '2.0',
         ],
         'pay_later_receipt' => [
           'name' => 'pay_later_receipt',
@@ -604,6 +619,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 1,
+          'add' => '2.0',
         ],
         'is_partial_payment' => [
           'name' => 'is_partial_payment',
@@ -616,6 +632,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'initial_amount_label' => [
           'name' => 'initial_amount_label',
@@ -629,6 +646,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 1,
+          'add' => '4.3',
         ],
         'initial_amount_help_text' => [
           'name' => 'initial_amount_help_text',
@@ -640,6 +658,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 1,
+          'add' => '4.3',
         ],
         'min_initial_amount' => [
           'name' => 'min_initial_amount',
@@ -655,6 +674,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'is_allow_other_amount' => [
           'name' => 'is_allow_other_amount',
@@ -667,6 +687,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'default_amount_id' => [
           'name' => 'default_amount_id',
@@ -678,6 +699,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'min_amount' => [
           'name' => 'min_amount',
@@ -693,6 +715,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'max_amount' => [
           'name' => 'max_amount',
@@ -708,6 +731,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'goal_amount' => [
           'name' => 'goal_amount',
@@ -723,6 +747,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'thankyou_title' => [
           'name' => 'thankyou_title',
@@ -736,6 +761,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 1,
+          'add' => '1.3',
         ],
         'thankyou_text' => [
           'name' => 'thankyou_text',
@@ -752,6 +778,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '1.3',
         ],
         'thankyou_footer' => [
           'name' => 'thankyou_footer',
@@ -768,6 +795,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '1.3',
         ],
         'is_email_receipt' => [
           'name' => 'is_email_receipt',
@@ -780,6 +808,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'receipt_from_name' => [
           'name' => 'receipt_from_name',
@@ -793,6 +822,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 1,
+          'add' => '1.3',
         ],
         'receipt_from_email' => [
           'name' => 'receipt_from_email',
@@ -806,6 +836,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'cc_receipt' => [
           'name' => 'cc_receipt',
@@ -819,6 +850,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'bcc_receipt' => [
           'name' => 'bcc_receipt',
@@ -832,6 +864,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'receipt_text' => [
           'name' => 'receipt_text',
@@ -848,6 +881,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.3',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -859,6 +893,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'footer_text' => [
           'name' => 'footer_text',
@@ -875,6 +910,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '1.4',
         ],
         'amount_block_is_active' => [
           'name' => 'amount_block_is_active',
@@ -887,6 +923,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'start_date' => [
           'name' => 'start_date',
@@ -898,6 +935,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'end_date' => [
           'name' => 'end_date',
@@ -909,6 +947,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -921,6 +960,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.0',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -932,6 +972,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'currency' => [
           'name' => 'currency',
@@ -958,6 +999,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '3.3',
         ],
         'campaign_id' => [
           'name' => 'campaign_id',
@@ -975,6 +1017,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '3.4',
         ],
         'is_share' => [
           'name' => 'is_share',
@@ -987,6 +1030,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'is_billing_required' => [
           'name' => 'is_billing_required',
@@ -999,6 +1043,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'entity' => 'ContributionPage',
           'bao' => 'CRM_Contribute_BAO_ContributionPage',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'contribution_page_frontend_title' => [
           'name' => 'frontend_title',
@@ -1016,6 +1061,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '5.20',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contribute/DAO/ContributionProduct.php b/civicrm/CRM/Contribute/DAO/ContributionProduct.php
index b938f4a6e9..6b9359e502 100644
--- a/civicrm/CRM/Contribute/DAO/ContributionProduct.php
+++ b/civicrm/CRM/Contribute/DAO/ContributionProduct.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionProduct.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:559257fd322f405c912fe7507fcb1cb3)
+ * (GenCodeChecksum:8d44308232c80eca6a841ed64c399b75)
  */
 
 /**
@@ -130,6 +130,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO {
           'entity' => 'ContributionProduct',
           'bao' => 'CRM_Contribute_DAO_ContributionProduct',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'product_id' => [
           'name' => 'product_id',
@@ -141,6 +142,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO {
           'entity' => 'ContributionProduct',
           'bao' => 'CRM_Contribute_DAO_ContributionProduct',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'contribution_id' => [
           'name' => 'contribution_id',
@@ -153,6 +155,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_DAO_ContributionProduct',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+          'add' => '1.4',
         ],
         'product_option' => [
           'name' => 'product_option',
@@ -167,6 +170,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO {
           'entity' => 'ContributionProduct',
           'bao' => 'CRM_Contribute_DAO_ContributionProduct',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'quantity' => [
           'name' => 'quantity',
@@ -178,6 +182,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO {
           'entity' => 'ContributionProduct',
           'bao' => 'CRM_Contribute_DAO_ContributionProduct',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'fulfilled_date' => [
           'name' => 'fulfilled_date',
@@ -194,6 +199,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.4',
         ],
         'contribution_start_date' => [
           'name' => 'start_date',
@@ -206,6 +212,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO {
           'entity' => 'ContributionProduct',
           'bao' => 'CRM_Contribute_DAO_ContributionProduct',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'contribution_end_date' => [
           'name' => 'end_date',
@@ -218,6 +225,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO {
           'entity' => 'ContributionProduct',
           'bao' => 'CRM_Contribute_DAO_ContributionProduct',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'comment' => [
           'name' => 'comment',
@@ -228,6 +236,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO {
           'entity' => 'ContributionProduct',
           'bao' => 'CRM_Contribute_DAO_ContributionProduct',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -246,6 +255,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contribute/DAO/ContributionRecur.php b/civicrm/CRM/Contribute/DAO/ContributionRecur.php
index 192721f6e6..a4f72426a7 100644
--- a/civicrm/CRM/Contribute/DAO/ContributionRecur.php
+++ b/civicrm/CRM/Contribute/DAO/ContributionRecur.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1c6a0e2a296ffbb530eee381975b9d17)
+ * (GenCodeChecksum:0213197dd3271a65f0fffab8d93529ef)
  */
 
 /**
@@ -273,6 +273,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'entity' => 'ContributionRecur',
           'bao' => 'CRM_Contribute_BAO_ContributionRecur',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -289,6 +290,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '1.6',
         ],
         'amount' => [
           'name' => 'amount',
@@ -308,6 +310,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.6',
         ],
         'currency' => [
           'name' => 'currency',
@@ -332,6 +335,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '3.2',
         ],
         'frequency_unit' => [
           'name' => 'frequency_unit',
@@ -354,6 +358,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'keyColumn' => 'name',
             'optionEditPath' => 'civicrm/admin/options/recur_frequency_units',
           ],
+          'add' => '1.6',
         ],
         'frequency_interval' => [
           'name' => 'frequency_interval',
@@ -369,6 +374,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.6',
         ],
         'installments' => [
           'name' => 'installments',
@@ -383,6 +389,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.6',
         ],
         'contribution_recur_start_date' => [
           'name' => 'start_date',
@@ -400,6 +407,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.6',
         ],
         'contribution_recur_create_date' => [
           'name' => 'create_date',
@@ -417,6 +425,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.6',
         ],
         'contribution_recur_modified_date' => [
           'name' => 'modified_date',
@@ -433,6 +442,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.6',
         ],
         'contribution_recur_cancel_date' => [
           'name' => 'cancel_date',
@@ -449,6 +459,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.6',
         ],
         'contribution_recur_cancel_reason' => [
           'name' => 'cancel_reason',
@@ -464,6 +475,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '5.13',
         ],
         'contribution_recur_end_date' => [
           'name' => 'end_date',
@@ -480,6 +492,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.6',
         ],
         'contribution_recur_processor_id' => [
           'name' => 'processor_id',
@@ -496,6 +509,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.6',
         ],
         'payment_token_id' => [
           'name' => 'payment_token_id',
@@ -508,6 +522,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_ContributionRecur',
           'localizable' => 0,
           'FKClassName' => 'CRM_Financial_DAO_PaymentToken',
+          'add' => '4.6',
         ],
         'contribution_recur_trxn_id' => [
           'name' => 'trxn_id',
@@ -524,6 +539,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.6',
         ],
         'invoice_id' => [
           'name' => 'invoice_id',
@@ -540,6 +556,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.6',
         ],
         'contribution_recur_contribution_status_id' => [
           'name' => 'contribution_status_id',
@@ -560,6 +577,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'optionGroupName' => 'contribution_recur_status',
             'optionEditPath' => 'civicrm/admin/options/contribution_recur_status',
           ],
+          'add' => '1.6',
         ],
         'is_test' => [
           'name' => 'is_test',
@@ -576,6 +594,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => NULL,
         ],
         'cycle_day' => [
           'name' => 'cycle_day',
@@ -592,6 +611,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.6',
         ],
         'contribution_recur_next_sched_contribution_date' => [
           'name' => 'next_sched_contribution_date',
@@ -608,6 +628,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '4.4',
         ],
         'failure_count' => [
           'name' => 'failure_count',
@@ -623,6 +644,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.6',
         ],
         'contribution_recur_failure_retry_date' => [
           'name' => 'failure_retry_date',
@@ -639,6 +661,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.6',
         ],
         'auto_renew' => [
           'name' => 'auto_renew',
@@ -655,6 +678,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.6',
         ],
         'contribution_recur_payment_processor_id' => [
           'name' => 'payment_processor_id',
@@ -675,6 +699,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.3',
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -696,6 +721,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'payment_instrument_id' => [
           'name' => 'payment_instrument_id',
@@ -714,6 +740,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'optionGroupName' => 'payment_instrument',
             'optionEditPath' => 'civicrm/admin/options/payment_instrument',
           ],
+          'add' => '4.1',
         ],
         'contribution_campaign_id' => [
           'name' => 'campaign_id',
@@ -736,6 +763,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '4.1',
         ],
         'is_email_receipt' => [
           'name' => 'is_email_receipt',
@@ -751,6 +779,7 @@ class CRM_Contribute_DAO_ContributionRecur extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contribute/DAO/ContributionSoft.php b/civicrm/CRM/Contribute/DAO/ContributionSoft.php
index 47e60a3f44..0e56ea03ef 100644
--- a/civicrm/CRM/Contribute/DAO/ContributionSoft.php
+++ b/civicrm/CRM/Contribute/DAO/ContributionSoft.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7fbb150189946e587cb80c075945e5ba)
+ * (GenCodeChecksum:a3491f823c8325761c39e44896060ef4)
  */
 
 /**
@@ -138,6 +138,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'entity' => 'ContributionSoft',
           'bao' => 'CRM_Contribute_BAO_ContributionSoft',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'contribution_id' => [
           'name' => 'contribution_id',
@@ -151,6 +152,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_ContributionSoft',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+          'add' => '2.2',
         ],
         'contribution_soft_contact_id' => [
           'name' => 'contact_id',
@@ -168,6 +170,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_ContributionSoft',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '2.2',
         ],
         'amount' => [
           'name' => 'amount',
@@ -188,6 +191,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'entity' => 'ContributionSoft',
           'bao' => 'CRM_Contribute_BAO_ContributionSoft',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'currency' => [
           'name' => 'currency',
@@ -212,6 +216,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '3.2',
         ],
         'pcp_id' => [
           'name' => 'pcp_id',
@@ -230,6 +235,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '2.2',
         ],
         'pcp_display_in_roll' => [
           'name' => 'pcp_display_in_roll',
@@ -241,6 +247,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'entity' => 'ContributionSoft',
           'bao' => 'CRM_Contribute_BAO_ContributionSoft',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'pcp_roll_nickname' => [
           'name' => 'pcp_roll_nickname',
@@ -254,6 +261,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'entity' => 'ContributionSoft',
           'bao' => 'CRM_Contribute_BAO_ContributionSoft',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'pcp_personal_note' => [
           'name' => 'pcp_personal_note',
@@ -270,6 +278,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '2.2',
         ],
         'soft_credit_type_id' => [
           'name' => 'soft_credit_type_id',
@@ -286,6 +295,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO {
             'optionGroupName' => 'soft_credit_type',
             'optionEditPath' => 'civicrm/admin/options/soft_credit_type',
           ],
+          'add' => '2.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contribute/DAO/Premium.php b/civicrm/CRM/Contribute/DAO/Premium.php
index 48741f75d7..fbcad9c270 100644
--- a/civicrm/CRM/Contribute/DAO/Premium.php
+++ b/civicrm/CRM/Contribute/DAO/Premium.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Premium.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cd90a0aedd51eaf91e1977705e80071f)
+ * (GenCodeChecksum:bb7c7cf4f7cdf14c536d662480ff5d9c)
  */
 
 /**
@@ -140,6 +140,7 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO {
           'entity' => 'Premium',
           'bao' => 'CRM_Contribute_BAO_Premium',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -154,6 +155,7 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO {
           'entity' => 'Premium',
           'bao' => 'CRM_Contribute_BAO_Premium',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -165,6 +167,7 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO {
           'entity' => 'Premium',
           'bao' => 'CRM_Contribute_BAO_Premium',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'premiums_active' => [
           'name' => 'premiums_active',
@@ -178,6 +181,7 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO {
           'entity' => 'Premium',
           'bao' => 'CRM_Contribute_BAO_Premium',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'premiums_intro_title' => [
           'name' => 'premiums_intro_title',
@@ -191,6 +195,7 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO {
           'entity' => 'Premium',
           'bao' => 'CRM_Contribute_BAO_Premium',
           'localizable' => 1,
+          'add' => '1.4',
         ],
         'premiums_intro_text' => [
           'name' => 'premiums_intro_text',
@@ -202,6 +207,7 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO {
           'entity' => 'Premium',
           'bao' => 'CRM_Contribute_BAO_Premium',
           'localizable' => 1,
+          'add' => '1.4',
         ],
         'premiums_contact_email' => [
           'name' => 'premiums_contact_email',
@@ -215,6 +221,7 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO {
           'entity' => 'Premium',
           'bao' => 'CRM_Contribute_BAO_Premium',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'premiums_contact_phone' => [
           'name' => 'premiums_contact_phone',
@@ -228,6 +235,7 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO {
           'entity' => 'Premium',
           'bao' => 'CRM_Contribute_BAO_Premium',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'premiums_display_min_contribution' => [
           'name' => 'premiums_display_min_contribution',
@@ -240,6 +248,7 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO {
           'entity' => 'Premium',
           'bao' => 'CRM_Contribute_BAO_Premium',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'premiums_nothankyou_label' => [
           'name' => 'premiums_nothankyou_label',
@@ -253,6 +262,7 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO {
           'entity' => 'Premium',
           'bao' => 'CRM_Contribute_BAO_Premium',
           'localizable' => 1,
+          'add' => '4.3',
         ],
         'premiums_nothankyou_position' => [
           'name' => 'premiums_nothankyou_position',
@@ -264,6 +274,7 @@ class CRM_Contribute_DAO_Premium extends CRM_Core_DAO {
           'entity' => 'Premium',
           'bao' => 'CRM_Contribute_BAO_Premium',
           'localizable' => 0,
+          'add' => '4.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contribute/DAO/PremiumsProduct.php b/civicrm/CRM/Contribute/DAO/PremiumsProduct.php
index 1b03fc00d8..fd27507dde 100644
--- a/civicrm/CRM/Contribute/DAO/PremiumsProduct.php
+++ b/civicrm/CRM/Contribute/DAO/PremiumsProduct.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/PremiumsProduct.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:444f1def563a1e986ddf0ac56f5b2e84)
+ * (GenCodeChecksum:06fb2ef25e85c471074cc40467f117a7)
  */
 
 /**
@@ -105,6 +105,7 @@ class CRM_Contribute_DAO_PremiumsProduct extends CRM_Core_DAO {
           'entity' => 'PremiumsProduct',
           'bao' => 'CRM_Contribute_DAO_PremiumsProduct',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'premiums_id' => [
           'name' => 'premiums_id',
@@ -118,6 +119,7 @@ class CRM_Contribute_DAO_PremiumsProduct extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_DAO_PremiumsProduct',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Premium',
+          'add' => '1.4',
         ],
         'product_id' => [
           'name' => 'product_id',
@@ -131,6 +133,7 @@ class CRM_Contribute_DAO_PremiumsProduct extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_DAO_PremiumsProduct',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Product',
+          'add' => '1.4',
         ],
         'weight' => [
           'name' => 'weight',
@@ -142,6 +145,7 @@ class CRM_Contribute_DAO_PremiumsProduct extends CRM_Core_DAO {
           'entity' => 'PremiumsProduct',
           'bao' => 'CRM_Contribute_DAO_PremiumsProduct',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -160,6 +164,7 @@ class CRM_Contribute_DAO_PremiumsProduct extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contribute/DAO/Product.php b/civicrm/CRM/Contribute/DAO/Product.php
index f474e3a793..221d1cbc23 100644
--- a/civicrm/CRM/Contribute/DAO/Product.php
+++ b/civicrm/CRM/Contribute/DAO/Product.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Product.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0af317e71745b39afb378570922fab90)
+ * (GenCodeChecksum:457bc07cf99a1ae6869ce09fb4d18d6a)
  */
 
 /**
@@ -199,6 +199,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'product_name' => [
           'name' => 'name',
@@ -214,6 +215,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 1,
+          'add' => '1.4',
         ],
         'description' => [
           'name' => 'description',
@@ -225,6 +227,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 1,
+          'add' => '1.4',
         ],
         'sku' => [
           'name' => 'sku',
@@ -239,6 +242,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'options' => [
           'name' => 'options',
@@ -250,6 +254,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 1,
+          'add' => '1.4',
         ],
         'image' => [
           'name' => 'image',
@@ -263,6 +268,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'thumbnail' => [
           'name' => 'thumbnail',
@@ -276,6 +282,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'price' => [
           'name' => 'price',
@@ -291,6 +298,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'currency' => [
           'name' => 'currency',
@@ -315,6 +323,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '3.2',
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -333,6 +342,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'min_contribution' => [
           'name' => 'min_contribution',
@@ -348,6 +358,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'cost' => [
           'name' => 'cost',
@@ -363,6 +374,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -375,6 +387,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'period_type' => [
           'name' => 'period_type',
@@ -396,6 +409,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::periodType',
           ],
+          'add' => '1.4',
         ],
         'fixed_period_start_day' => [
           'name' => 'fixed_period_start_day',
@@ -408,6 +422,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'duration_unit' => [
           'name' => 'duration_unit',
@@ -427,6 +442,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getPremiumUnits',
           ],
+          'add' => '1.4',
         ],
         'duration_interval' => [
           'name' => 'duration_interval',
@@ -438,6 +454,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'frequency_unit' => [
           'name' => 'frequency_unit',
@@ -458,6 +475,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getPremiumUnits',
           ],
+          'add' => '1.4',
         ],
         'frequency_interval' => [
           'name' => 'frequency_interval',
@@ -469,6 +487,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'entity' => 'Product',
           'bao' => 'CRM_Contribute_BAO_Product',
           'localizable' => 0,
+          'add' => '1.4',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Contribute/DAO/Widget.php b/civicrm/CRM/Contribute/DAO/Widget.php
index 0705b3e744..855ab3106c 100644
--- a/civicrm/CRM/Contribute/DAO/Widget.php
+++ b/civicrm/CRM/Contribute/DAO/Widget.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Widget.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5623f4ecd23646d12dd4278675006d7a)
+ * (GenCodeChecksum:861756ff16f701adecdc177e253ca208)
  */
 
 /**
@@ -171,6 +171,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'contribution_page_id' => [
           'name' => 'contribution_page_id',
@@ -183,6 +184,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
+          'add' => '1.5',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -194,6 +196,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'title' => [
           'name' => 'title',
@@ -207,6 +210,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'url_logo' => [
           'name' => 'url_logo',
@@ -220,6 +224,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'button_title' => [
           'name' => 'button_title',
@@ -233,6 +238,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'about' => [
           'name' => 'about',
@@ -244,6 +250,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'url_homepage' => [
           'name' => 'url_homepage',
@@ -257,6 +264,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'color_title' => [
           'name' => 'color_title',
@@ -269,6 +277,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'color_button' => [
           'name' => 'color_button',
@@ -281,6 +290,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'color_bar' => [
           'name' => 'color_bar',
@@ -293,6 +303,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'color_main_text' => [
           'name' => 'color_main_text',
@@ -305,6 +316,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'color_main' => [
           'name' => 'color_main',
@@ -317,6 +329,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'color_main_bg' => [
           'name' => 'color_main_bg',
@@ -329,6 +342,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'color_bg' => [
           'name' => 'color_bg',
@@ -341,6 +355,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'color_about_link' => [
           'name' => 'color_about_link',
@@ -353,6 +368,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'color_homepage_link' => [
           'name' => 'color_homepage_link',
@@ -365,6 +381,7 @@ class CRM_Contribute_DAO_Widget extends CRM_Core_DAO {
           'entity' => 'Widget',
           'bao' => 'CRM_Contribute_BAO_Widget',
           'localizable' => 0,
+          'add' => '2.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/BAO/CustomGroup.php b/civicrm/CRM/Core/BAO/CustomGroup.php
index 0f08b27798..9c67bee833 100644
--- a/civicrm/CRM/Core/BAO/CustomGroup.php
+++ b/civicrm/CRM/Core/BAO/CustomGroup.php
@@ -399,7 +399,6 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
         'time_format',
         'option_group_id',
         'in_selector',
-        'serialize',
       ],
       'custom_group' => [
         'id',
@@ -419,9 +418,13 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup {
     ];
     $current_db_version = CRM_Core_DAO::singleValueQuery("SELECT version FROM civicrm_domain WHERE id = " . CRM_Core_Config::domainID());
     $is_public_version = $current_db_version >= '4.7.19' ? 1 : 0;
+    $serialize_version = version_compare($current_db_version, '5.27.alpha1', '>=');
     if ($is_public_version) {
       $tableData['custom_group'][] = 'is_public';
     }
+    if ($serialize_version) {
+      $tableData['custom_field'][] = 'serialize';
+    }
     if (!$toReturn || !is_array($toReturn)) {
       $toReturn = $tableData;
     }
diff --git a/civicrm/CRM/Core/CodeGen/Specification.php b/civicrm/CRM/Core/CodeGen/Specification.php
index 00e3d74a06..cc0d83854c 100644
--- a/civicrm/CRM/Core/CodeGen/Specification.php
+++ b/civicrm/CRM/Core/CodeGen/Specification.php
@@ -418,6 +418,7 @@ class CRM_Core_CodeGen_Specification {
     if (isset($fieldXML->localize_context)) {
       $field['localize_context'] = $fieldXML->localize_context;
     }
+    $field['add'] = $this->value('add', $fieldXML);
     $field['pseudoconstant'] = $this->value('pseudoconstant', $fieldXML);
     if (!empty($field['pseudoconstant'])) {
       //ok this is a bit long-winded but it gets there & is consistent with above approach
diff --git a/civicrm/CRM/Core/DAO.php b/civicrm/CRM/Core/DAO.php
index 1e245457ec..ca7d209272 100644
--- a/civicrm/CRM/Core/DAO.php
+++ b/civicrm/CRM/Core/DAO.php
@@ -512,6 +512,43 @@ class CRM_Core_DAO extends DB_DataObject {
     return $result;
   }
 
+  /**
+   * Returns all usable fields, indexed by name.
+   *
+   * This function differs from fields() in that it indexes by name rather than unique_name.
+   *
+   * It excludes fields not added yet by pending upgrades.
+   * This avoids problems with trying to SELECT a field that exists in code but has not yet been added to the db.
+   *
+   * @param bool $checkPermissions
+   *   Filter by field permissions.
+   * @return array
+   */
+  public static function getSupportedFields($checkPermissions = FALSE) {
+    $fields = array_column((array) static::fields(), NULL, 'name');
+
+    // Exclude fields yet not added by pending upgrades
+    $dbVer = \CRM_Core_BAO_Domain::version();
+    if ($fields && version_compare($dbVer, \CRM_Utils_System::version()) < 0) {
+      $fields = array_filter($fields, function($field) use ($dbVer) {
+        $add = $field['add'] ?? '1.0.0';
+        if (substr_count($add, '.') < 2) {
+          $add .= '.alpha1';
+        }
+        return version_compare($dbVer, $add, '>=');
+      });
+    }
+
+    // Exclude fields the user does not have permission for
+    if ($checkPermissions) {
+      $fields = array_filter($fields, function($field) {
+        return empty($field['permission']) || CRM_Core_Permission::check($field['permission']);
+      });
+    }
+
+    return $fields;
+  }
+
   /**
    * Get/set an associative array of table columns
    *
diff --git a/civicrm/CRM/Core/DAO/ActionLog.php b/civicrm/CRM/Core/DAO/ActionLog.php
index 447410dc3a..2abba77620 100644
--- a/civicrm/CRM/Core/DAO/ActionLog.php
+++ b/civicrm/CRM/Core/DAO/ActionLog.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e23a4eda4386716e3553aeb30bf1f255)
+ * (GenCodeChecksum:f1be9f226b9ab48f8ca2e2f73e2de839)
  */
 
 /**
@@ -139,6 +139,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           'entity' => 'ActionLog',
           'bao' => 'CRM_Core_BAO_ActionLog',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -151,6 +152,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_ActionLog',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.4',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -163,6 +165,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           'entity' => 'ActionLog',
           'bao' => 'CRM_Core_BAO_ActionLog',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -176,6 +179,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           'entity' => 'ActionLog',
           'bao' => 'CRM_Core_BAO_ActionLog',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'action_schedule_id' => [
           'name' => 'action_schedule_id',
@@ -189,6 +193,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_ActionLog',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_ActionSchedule',
+          'add' => '3.4',
         ],
         'action_date_time' => [
           'name' => 'action_date_time',
@@ -200,6 +205,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           'entity' => 'ActionLog',
           'bao' => 'CRM_Core_BAO_ActionLog',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'is_error' => [
           'name' => 'is_error',
@@ -212,6 +218,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           'entity' => 'ActionLog',
           'bao' => 'CRM_Core_BAO_ActionLog',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'message' => [
           'name' => 'message',
@@ -223,6 +230,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           'entity' => 'ActionLog',
           'bao' => 'CRM_Core_BAO_ActionLog',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'repetition_number' => [
           'name' => 'repetition_number',
@@ -234,6 +242,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           'entity' => 'ActionLog',
           'bao' => 'CRM_Core_BAO_ActionLog',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'reference_date' => [
           'name' => 'reference_date',
@@ -246,6 +255,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           'entity' => 'ActionLog',
           'bao' => 'CRM_Core_BAO_ActionLog',
           'localizable' => 0,
+          'add' => '4.6',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/ActionMapping.php b/civicrm/CRM/Core/DAO/ActionMapping.php
index 38d40f4614..66e0396abb 100644
--- a/civicrm/CRM/Core/DAO/ActionMapping.php
+++ b/civicrm/CRM/Core/DAO/ActionMapping.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionMapping.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b597d359bb254799b8756ee555156dc3)
+ * (GenCodeChecksum:91e6d25b9c464b0211c849d8931e82e4)
  */
 
 /**
@@ -115,6 +115,7 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO {
           'entity' => 'ActionMapping',
           'bao' => 'CRM_Core_DAO_ActionMapping',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'entity' => [
           'name' => 'entity',
@@ -128,6 +129,7 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO {
           'entity' => 'ActionMapping',
           'bao' => 'CRM_Core_DAO_ActionMapping',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'entity_value' => [
           'name' => 'entity_value',
@@ -141,6 +143,7 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO {
           'entity' => 'ActionMapping',
           'bao' => 'CRM_Core_DAO_ActionMapping',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'entity_value_label' => [
           'name' => 'entity_value_label',
@@ -154,6 +157,7 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO {
           'entity' => 'ActionMapping',
           'bao' => 'CRM_Core_DAO_ActionMapping',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'entity_status' => [
           'name' => 'entity_status',
@@ -167,6 +171,7 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO {
           'entity' => 'ActionMapping',
           'bao' => 'CRM_Core_DAO_ActionMapping',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'entity_status_label' => [
           'name' => 'entity_status_label',
@@ -180,6 +185,7 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO {
           'entity' => 'ActionMapping',
           'bao' => 'CRM_Core_DAO_ActionMapping',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'entity_date_start' => [
           'name' => 'entity_date_start',
@@ -193,6 +199,7 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO {
           'entity' => 'ActionMapping',
           'bao' => 'CRM_Core_DAO_ActionMapping',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'entity_date_end' => [
           'name' => 'entity_date_end',
@@ -206,6 +213,7 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO {
           'entity' => 'ActionMapping',
           'bao' => 'CRM_Core_DAO_ActionMapping',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'entity_recipient' => [
           'name' => 'entity_recipient',
@@ -219,6 +227,7 @@ class CRM_Core_DAO_ActionMapping extends CRM_Core_DAO {
           'entity' => 'ActionMapping',
           'bao' => 'CRM_Core_DAO_ActionMapping',
           'localizable' => 0,
+          'add' => '3.4',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/ActionSchedule.php b/civicrm/CRM/Core/DAO/ActionSchedule.php
index e67d25c8b2..2333fc9aa5 100644
--- a/civicrm/CRM/Core/DAO/ActionSchedule.php
+++ b/civicrm/CRM/Core/DAO/ActionSchedule.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionSchedule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:480f98c7f38407759f99648abdd78368)
+ * (GenCodeChecksum:ffbed6c177130dc6e737d720bf4e8b8d)
  */
 
 /**
@@ -332,6 +332,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'name' => [
           'name' => 'name',
@@ -345,6 +346,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'title' => [
           'name' => 'title',
@@ -358,6 +360,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'recipient' => [
           'name' => 'recipient',
@@ -371,6 +374,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'limit_to' => [
           'name' => 'limit_to',
@@ -382,6 +386,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'entity_value' => [
           'name' => 'entity_value',
@@ -395,6 +400,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'entity_status' => [
           'name' => 'entity_status',
@@ -408,6 +414,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'start_action_offset' => [
           'name' => 'start_action_offset',
@@ -420,6 +427,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'start_action_unit' => [
           'name' => 'start_action_unit',
@@ -439,6 +447,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getRecurringFrequencyUnits',
           ],
+          'add' => '3.4',
         ],
         'start_action_condition' => [
           'name' => 'start_action_condition',
@@ -452,6 +461,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'start_action_date' => [
           'name' => 'start_action_date',
@@ -465,6 +475,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'is_repeat' => [
           'name' => 'is_repeat',
@@ -476,6 +487,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'repetition_frequency_unit' => [
           'name' => 'repetition_frequency_unit',
@@ -495,6 +507,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getRecurringFrequencyUnits',
           ],
+          'add' => '3.4',
         ],
         'repetition_frequency_interval' => [
           'name' => 'repetition_frequency_interval',
@@ -507,6 +520,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'end_frequency_unit' => [
           'name' => 'end_frequency_unit',
@@ -526,6 +540,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getRecurringFrequencyUnits',
           ],
+          'add' => '3.4',
         ],
         'end_frequency_interval' => [
           'name' => 'end_frequency_interval',
@@ -538,6 +553,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'end_action' => [
           'name' => 'end_action',
@@ -551,6 +567,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'end_date' => [
           'name' => 'end_date',
@@ -564,6 +581,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -576,6 +594,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'recipient_manual' => [
           'name' => 'recipient_manual',
@@ -589,6 +608,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'recipient_listing' => [
           'name' => 'recipient_listing',
@@ -602,6 +622,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'body_text' => [
           'name' => 'body_text',
@@ -613,6 +634,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'body_html' => [
           'name' => 'body_html',
@@ -624,6 +646,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'sms_body_text' => [
           'name' => 'sms_body_text',
@@ -635,6 +658,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'subject' => [
           'name' => 'subject',
@@ -648,6 +672,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'record_activity' => [
           'name' => 'record_activity',
@@ -660,6 +685,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'mapping_id' => [
           'name' => 'mapping_id',
@@ -673,6 +699,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'group_id' => [
           'name' => 'group_id',
@@ -693,6 +720,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '3.4',
         ],
         'msg_template_id' => [
           'name' => 'msg_template_id',
@@ -705,6 +733,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_MessageTemplate',
+          'add' => NULL,
         ],
         'sms_template_id' => [
           'name' => 'sms_template_id',
@@ -717,6 +746,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_MessageTemplate',
+          'add' => NULL,
         ],
         'absolute_date' => [
           'name' => 'absolute_date',
@@ -728,6 +758,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'from_name' => [
           'name' => 'from_name',
@@ -741,6 +772,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'from_email' => [
           'name' => 'from_email',
@@ -754,6 +786,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'mode' => [
           'name' => 'mode',
@@ -775,6 +808,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
             'optionGroupName' => 'msg_mode',
             'optionEditPath' => 'civicrm/admin/options/msg_mode',
           ],
+          'add' => '4.5',
         ],
         'sms_provider_id' => [
           'name' => 'sms_provider_id',
@@ -789,6 +823,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '4.5',
         ],
         'used_for' => [
           'name' => 'used_for',
@@ -802,6 +837,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'filter_contact_language' => [
           'name' => 'filter_contact_language',
@@ -815,6 +851,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'communication_language' => [
           'name' => 'communication_language',
@@ -828,6 +865,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
           'localizable' => 0,
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Address.php b/civicrm/CRM/Core/DAO/Address.php
index e0619a1a47..4262ab091c 100644
--- a/civicrm/CRM/Core/DAO/Address.php
+++ b/civicrm/CRM/Core/DAO/Address.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Address.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:aed8175462599ecc4c8d43887d76350a)
+ * (GenCodeChecksum:e823ead9dbb5f2a6eb922044e8ddb482)
  */
 
 /**
@@ -278,6 +278,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'entity' => 'Address',
           'bao' => 'CRM_Core_BAO_Address',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -290,6 +291,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Address',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '2.0',
         ],
         'location_type_id' => [
           'name' => 'location_type_id',
@@ -309,6 +311,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'display_name',
           ],
+          'add' => '2.0',
         ],
         'is_primary' => [
           'name' => 'is_primary',
@@ -324,6 +327,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Radio',
           ],
+          'add' => '2.0',
         ],
         'is_billing' => [
           'name' => 'is_billing',
@@ -339,6 +343,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.0',
         ],
         'street_address' => [
           'name' => 'street_address',
@@ -361,6 +366,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'street_number' => [
           'name' => 'street_number',
@@ -376,6 +382,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'street_number_suffix' => [
           'name' => 'street_number_suffix',
@@ -393,6 +400,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'street_number_predirectional' => [
           'name' => 'street_number_predirectional',
@@ -409,6 +417,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'street_name' => [
           'name' => 'street_name',
@@ -426,6 +435,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'street_type' => [
           'name' => 'street_type',
@@ -442,6 +452,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'street_number_postdirectional' => [
           'name' => 'street_number_postdirectional',
@@ -458,6 +469,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'street_unit' => [
           'name' => 'street_unit',
@@ -475,6 +487,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'supplemental_address_1' => [
           'name' => 'supplemental_address_1',
@@ -495,6 +508,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'supplemental_address_2' => [
           'name' => 'supplemental_address_2',
@@ -515,6 +529,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'supplemental_address_3' => [
           'name' => 'supplemental_address_3',
@@ -535,6 +550,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'city' => [
           'name' => 'city',
@@ -555,6 +571,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'county_id' => [
           'name' => 'county_id',
@@ -576,6 +593,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '1.1',
         ],
         'state_province_id' => [
           'name' => 'state_province_id',
@@ -598,6 +616,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '1.1',
         ],
         'postal_code_suffix' => [
           'name' => 'postal_code_suffix',
@@ -618,6 +637,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'postal_code' => [
           'name' => 'postal_code',
@@ -638,6 +658,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'usps_adc' => [
           'name' => 'usps_adc',
@@ -651,6 +672,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'entity' => 'Address',
           'bao' => 'CRM_Core_BAO_Address',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'country_id' => [
           'name' => 'country_id',
@@ -674,6 +696,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
             'nameColumn' => 'iso_code',
             'abbrColumn' => 'iso_code',
           ],
+          'add' => '1.1',
         ],
         'geo_code_1' => [
           'name' => 'geo_code_1',
@@ -691,6 +714,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'geo_code_2' => [
           'name' => 'geo_code_2',
@@ -708,6 +732,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'manual_geo_code' => [
           'name' => 'manual_geo_code',
@@ -724,6 +749,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.3',
         ],
         'timezone' => [
           'name' => 'timezone',
@@ -740,6 +766,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'address_name' => [
           'name' => 'name',
@@ -759,6 +786,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.1',
         ],
         'master_id' => [
           'name' => 'master_id',
@@ -773,6 +801,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Address',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Address',
+          'add' => '3.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/AddressFormat.php b/civicrm/CRM/Core/DAO/AddressFormat.php
index 0a07ed0985..b02516e36a 100644
--- a/civicrm/CRM/Core/DAO/AddressFormat.php
+++ b/civicrm/CRM/Core/DAO/AddressFormat.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/AddressFormat.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a9ea837c3e5896b5e2b0b62052a5fdaf)
+ * (GenCodeChecksum:d07eca82ecd6f61042d97ea58bfbca26)
  */
 
 /**
@@ -69,6 +69,7 @@ class CRM_Core_DAO_AddressFormat extends CRM_Core_DAO {
           'entity' => 'AddressFormat',
           'bao' => 'CRM_Core_DAO_AddressFormat',
           'localizable' => 0,
+          'add' => '3.2',
         ],
         'format' => [
           'name' => 'format',
@@ -80,6 +81,7 @@ class CRM_Core_DAO_AddressFormat extends CRM_Core_DAO {
           'entity' => 'AddressFormat',
           'bao' => 'CRM_Core_DAO_AddressFormat',
           'localizable' => 0,
+          'add' => '3.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Cache.php b/civicrm/CRM/Core/DAO/Cache.php
index 2a37d8efb3..7118ea4176 100644
--- a/civicrm/CRM/Core/DAO/Cache.php
+++ b/civicrm/CRM/Core/DAO/Cache.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Cache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2639f5b19898adf08f19b9f2713d5e76)
+ * (GenCodeChecksum:c2121534d76909379f14db52c753bea6)
  */
 
 /**
@@ -119,6 +119,7 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO {
           'entity' => 'Cache',
           'bao' => 'CRM_Core_BAO_Cache',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'group_name' => [
           'name' => 'group_name',
@@ -133,6 +134,7 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO {
           'entity' => 'Cache',
           'bao' => 'CRM_Core_BAO_Cache',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'path' => [
           'name' => 'path',
@@ -146,6 +148,7 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO {
           'entity' => 'Cache',
           'bao' => 'CRM_Core_BAO_Cache',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'data' => [
           'name' => 'data',
@@ -157,6 +160,7 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO {
           'entity' => 'Cache',
           'bao' => 'CRM_Core_BAO_Cache',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'component_id' => [
           'name' => 'component_id',
@@ -177,6 +181,7 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '2.1',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -189,6 +194,7 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO {
           'entity' => 'Cache',
           'bao' => 'CRM_Core_BAO_Cache',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'expired_date' => [
           'name' => 'expired_date',
@@ -202,6 +208,7 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO {
           'entity' => 'Cache',
           'bao' => 'CRM_Core_BAO_Cache',
           'localizable' => 0,
+          'add' => '2.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Component.php b/civicrm/CRM/Core/DAO/Component.php
index 69039b9975..e30f95d7a1 100644
--- a/civicrm/CRM/Core/DAO/Component.php
+++ b/civicrm/CRM/Core/DAO/Component.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Component.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7df1b2e6e35d3bbd5ae6d71f559cf8cb)
+ * (GenCodeChecksum:27df683af171122479e80f730e9b8065)
  */
 
 /**
@@ -76,6 +76,7 @@ class CRM_Core_DAO_Component extends CRM_Core_DAO {
           'entity' => 'Component',
           'bao' => 'CRM_Core_DAO_Component',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'name' => [
           'name' => 'name',
@@ -90,6 +91,7 @@ class CRM_Core_DAO_Component extends CRM_Core_DAO {
           'entity' => 'Component',
           'bao' => 'CRM_Core_DAO_Component',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'namespace' => [
           'name' => 'namespace',
@@ -103,6 +105,7 @@ class CRM_Core_DAO_Component extends CRM_Core_DAO {
           'entity' => 'Component',
           'bao' => 'CRM_Core_DAO_Component',
           'localizable' => 0,
+          'add' => '2.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Country.php b/civicrm/CRM/Core/DAO/Country.php
index e6a2aac9dc..d3204d7195 100644
--- a/civicrm/CRM/Core/DAO/Country.php
+++ b/civicrm/CRM/Core/DAO/Country.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Country.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e91ee1ac50cda49d3d228fe953d1ab34)
+ * (GenCodeChecksum:469d1a473f73094566f3dd5b7be0491f)
  */
 
 /**
@@ -134,6 +134,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
           'entity' => 'Country',
           'bao' => 'CRM_Core_BAO_Country',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'name' => [
           'name' => 'name',
@@ -151,6 +152,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
           'entity' => 'Country',
           'bao' => 'CRM_Core_BAO_Country',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'iso_code' => [
           'name' => 'iso_code',
@@ -164,6 +166,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
           'entity' => 'Country',
           'bao' => 'CRM_Core_BAO_Country',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'country_code' => [
           'name' => 'country_code',
@@ -177,6 +180,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
           'entity' => 'Country',
           'bao' => 'CRM_Core_BAO_Country',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'address_format_id' => [
           'name' => 'address_format_id',
@@ -189,6 +193,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Country',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_AddressFormat',
+          'add' => '3.2',
         ],
         'idd_prefix' => [
           'name' => 'idd_prefix',
@@ -202,6 +207,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
           'entity' => 'Country',
           'bao' => 'CRM_Core_BAO_Country',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'ndd_prefix' => [
           'name' => 'ndd_prefix',
@@ -215,6 +221,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
           'entity' => 'Country',
           'bao' => 'CRM_Core_BAO_Country',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'region_id' => [
           'name' => 'region_id',
@@ -234,6 +241,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '1.8',
         ],
         'is_province_abbreviated' => [
           'name' => 'is_province_abbreviated',
@@ -246,6 +254,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
           'entity' => 'Country',
           'bao' => 'CRM_Core_BAO_Country',
           'localizable' => 0,
+          'add' => '3.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/County.php b/civicrm/CRM/Core/DAO/County.php
index 4a1524d510..5596fc1c21 100644
--- a/civicrm/CRM/Core/DAO/County.php
+++ b/civicrm/CRM/Core/DAO/County.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/County.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c22121afe6539d3ec7c51e905de299d7)
+ * (GenCodeChecksum:1e3c7165cdccaa870907b64fce25f5db)
  */
 
 /**
@@ -98,6 +98,7 @@ class CRM_Core_DAO_County extends CRM_Core_DAO {
           'entity' => 'County',
           'bao' => 'CRM_Core_DAO_County',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'name' => [
           'name' => 'name',
@@ -115,6 +116,7 @@ class CRM_Core_DAO_County extends CRM_Core_DAO {
           'entity' => 'County',
           'bao' => 'CRM_Core_DAO_County',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'abbreviation' => [
           'name' => 'abbreviation',
@@ -128,6 +130,7 @@ class CRM_Core_DAO_County extends CRM_Core_DAO {
           'entity' => 'County',
           'bao' => 'CRM_Core_DAO_County',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'state_province_id' => [
           'name' => 'state_province_id',
@@ -146,6 +149,7 @@ class CRM_Core_DAO_County extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '1.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/CustomField.php b/civicrm/CRM/Core/DAO/CustomField.php
index 5c5e9a1036..da381666b5 100644
--- a/civicrm/CRM/Core/DAO/CustomField.php
+++ b/civicrm/CRM/Core/DAO/CustomField.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/CustomField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0b21a2a1f1cba7a76fd8830db1626513)
+ * (GenCodeChecksum:a0c5b79659df1495e8de486a9de4cad3)
  */
 
 /**
@@ -288,6 +288,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'custom_group_id' => [
           'name' => 'custom_group_id',
@@ -309,6 +310,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '1.1',
         ],
         'name' => [
           'name' => 'name',
@@ -322,6 +324,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'label' => [
           'name' => 'label',
@@ -336,6 +339,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 1,
+          'add' => '1.1',
         ],
         'data_type' => [
           'name' => 'data_type',
@@ -356,6 +360,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_BAO_CustomField::dataType',
           ],
+          'add' => '1.1',
         ],
         'html_type' => [
           'name' => 'html_type',
@@ -373,6 +378,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::customHtmlType',
           ],
+          'add' => '1.1',
         ],
         'default_value' => [
           'name' => 'default_value',
@@ -386,6 +392,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'is_required' => [
           'name' => 'is_required',
@@ -398,6 +405,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'is_searchable' => [
           'name' => 'is_searchable',
@@ -410,6 +418,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'is_search_range' => [
           'name' => 'is_search_range',
@@ -422,6 +431,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'weight' => [
           'name' => 'weight',
@@ -435,6 +445,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'help_pre' => [
           'name' => 'help_pre',
@@ -446,6 +457,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 1,
+          'add' => '1.1',
         ],
         'help_post' => [
           'name' => 'help_post',
@@ -457,6 +469,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 1,
+          'add' => '1.1',
         ],
         'mask' => [
           'name' => 'mask',
@@ -470,6 +483,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'attributes' => [
           'name' => 'attributes',
@@ -483,6 +497,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'javascript' => [
           'name' => 'javascript',
@@ -496,6 +511,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -508,6 +524,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'is_view' => [
           'name' => 'is_view',
@@ -520,6 +537,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'options_per_line' => [
           'name' => 'options_per_line',
@@ -531,6 +549,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'text_length' => [
           'name' => 'text_length',
@@ -542,6 +561,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'start_date_years' => [
           'name' => 'start_date_years',
@@ -553,6 +573,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'end_date_years' => [
           'name' => 'end_date_years',
@@ -564,6 +585,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'date_format' => [
           'name' => 'date_format',
@@ -580,6 +602,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getDatePluginInputFormats',
           ],
+          'add' => '3.1',
         ],
         'time_format' => [
           'name' => 'time_format',
@@ -594,6 +617,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getTimeFormats',
           ],
+          'add' => '3.1',
         ],
         'note_columns' => [
           'name' => 'note_columns',
@@ -605,6 +629,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'note_rows' => [
           'name' => 'note_rows',
@@ -616,6 +641,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'column_name' => [
           'name' => 'column_name',
@@ -629,6 +655,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'option_group_id' => [
           'name' => 'option_group_id',
@@ -646,6 +673,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '1.4',
         ],
         'serialize' => [
           'name' => 'serialize',
@@ -660,6 +688,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::fieldSerialization',
           ],
+          'add' => '5.27',
         ],
         'filter' => [
           'name' => 'filter',
@@ -673,6 +702,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'in_selector' => [
           'name' => 'in_selector',
@@ -685,6 +715,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'entity' => 'CustomField',
           'bao' => 'CRM_Core_BAO_CustomField',
           'localizable' => 0,
+          'add' => '4.5',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/CustomGroup.php b/civicrm/CRM/Core/DAO/CustomGroup.php
index 6d4d664f25..2599638386 100644
--- a/civicrm/CRM/Core/DAO/CustomGroup.php
+++ b/civicrm/CRM/Core/DAO/CustomGroup.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/CustomGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9fe326403964113e2dde1631bf583c5e)
+ * (GenCodeChecksum:1cc0f35ecb57e16c979ad6d991ca811d)
  */
 
 /**
@@ -217,6 +217,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'name' => [
           'name' => 'name',
@@ -230,6 +231,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'title' => [
           'name' => 'title',
@@ -244,6 +246,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 1,
+          'add' => '1.1',
         ],
         'extends' => [
           'name' => 'extends',
@@ -258,6 +261,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'extends_entity_column_id' => [
           'name' => 'extends_entity_column_id',
@@ -277,6 +281,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
             'optionGroupName' => 'custom_data_type',
             'optionEditPath' => 'civicrm/admin/options/custom_data_type',
           ],
+          'add' => '2.2',
         ],
         'extends_entity_column_value' => [
           'name' => 'extends_entity_column_value',
@@ -291,6 +296,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_SEPARATOR_BOOKEND,
+          'add' => '1.6',
         ],
         'style' => [
           'name' => 'style',
@@ -310,6 +316,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::customGroupStyle',
           ],
+          'add' => '1.1',
         ],
         'collapse_display' => [
           'name' => 'collapse_display',
@@ -322,6 +329,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'help_pre' => [
           'name' => 'help_pre',
@@ -338,6 +346,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.1',
         ],
         'help_post' => [
           'name' => 'help_post',
@@ -354,6 +363,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.1',
         ],
         'weight' => [
           'name' => 'weight',
@@ -367,6 +377,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -379,6 +390,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'table_name' => [
           'name' => 'table_name',
@@ -392,6 +404,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'is_multiple' => [
           'name' => 'is_multiple',
@@ -404,6 +417,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'min_multiple' => [
           'name' => 'min_multiple',
@@ -415,6 +429,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'max_multiple' => [
           'name' => 'max_multiple',
@@ -426,6 +441,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'collapse_adv_display' => [
           'name' => 'collapse_adv_display',
@@ -438,6 +454,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -450,6 +467,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.0',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -461,6 +479,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -473,6 +492,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'is_public' => [
           'name' => 'is_public',
@@ -485,6 +505,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'entity' => 'CustomGroup',
           'bao' => 'CRM_Core_BAO_CustomGroup',
           'localizable' => 0,
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Dashboard.php b/civicrm/CRM/Core/DAO/Dashboard.php
index 65facfb0fc..d94edc97f3 100644
--- a/civicrm/CRM/Core/DAO/Dashboard.php
+++ b/civicrm/CRM/Core/DAO/Dashboard.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Dashboard.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:06a6051f8aa495ae244afaa0e75aa7e0)
+ * (GenCodeChecksum:09934d6808ea207d4dd2aeaedb1b1d19)
  */
 
 /**
@@ -144,6 +144,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -162,6 +163,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.1',
         ],
         'name' => [
           'name' => 'name',
@@ -175,6 +177,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'label' => [
           'name' => 'label',
@@ -188,6 +191,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
           'localizable' => 1,
+          'add' => '3.1',
         ],
         'url' => [
           'name' => 'url',
@@ -201,6 +205,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'permission' => [
           'name' => 'permission',
@@ -215,6 +220,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Dashboard',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_COMMA,
+          'add' => '3.1',
         ],
         'permission_operator' => [
           'name' => 'permission_operator',
@@ -228,6 +234,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'fullscreen_url' => [
           'name' => 'fullscreen_url',
@@ -241,6 +248,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -253,6 +261,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -265,6 +274,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'cache_minutes' => [
           'name' => 'cache_minutes',
@@ -278,6 +288,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'entity' => 'Dashboard',
           'bao' => 'CRM_Core_BAO_Dashboard',
           'localizable' => 0,
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Discount.php b/civicrm/CRM/Core/DAO/Discount.php
index 26a7419da2..cac8c39915 100644
--- a/civicrm/CRM/Core/DAO/Discount.php
+++ b/civicrm/CRM/Core/DAO/Discount.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Discount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:856b526f1fe395e4460ebf886a258d4f)
+ * (GenCodeChecksum:c1674bdbac94e2ca45df691ad367c32d)
  */
 
 /**
@@ -113,6 +113,7 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO {
           'entity' => 'Discount',
           'bao' => 'CRM_Core_BAO_Discount',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -126,6 +127,7 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO {
           'entity' => 'Discount',
           'bao' => 'CRM_Core_BAO_Discount',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -138,6 +140,7 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO {
           'entity' => 'Discount',
           'bao' => 'CRM_Core_BAO_Discount',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'participant_discount_name' => [
           'name' => 'price_set_id',
@@ -157,6 +160,7 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '4.3',
         ],
         'start_date' => [
           'name' => 'start_date',
@@ -168,6 +172,7 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO {
           'entity' => 'Discount',
           'bao' => 'CRM_Core_BAO_Discount',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'end_date' => [
           'name' => 'end_date',
@@ -179,6 +184,7 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO {
           'entity' => 'Discount',
           'bao' => 'CRM_Core_BAO_Discount',
           'localizable' => 0,
+          'add' => '2.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Domain.php b/civicrm/CRM/Core/DAO/Domain.php
index 39c07dc6bf..fed940840f 100644
--- a/civicrm/CRM/Core/DAO/Domain.php
+++ b/civicrm/CRM/Core/DAO/Domain.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Domain.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cdd41aa071b68a8a4be6b28f7ca3a0a3)
+ * (GenCodeChecksum:08e19bcadbe6c2de21e9303c0ffeeafc)
  */
 
 /**
@@ -119,6 +119,7 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO {
           'entity' => 'Domain',
           'bao' => 'CRM_Core_BAO_Domain',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'name' => [
           'name' => 'name',
@@ -135,6 +136,7 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'description' => [
           'name' => 'description',
@@ -151,6 +153,7 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'version' => [
           'name' => 'version',
@@ -164,6 +167,7 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO {
           'entity' => 'Domain',
           'bao' => 'CRM_Core_BAO_Domain',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -176,6 +180,7 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Domain',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.3',
         ],
         'locales' => [
           'name' => 'locales',
@@ -187,6 +192,7 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO {
           'entity' => 'Domain',
           'bao' => 'CRM_Core_BAO_Domain',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'locale_custom_strings' => [
           'name' => 'locale_custom_strings',
@@ -199,6 +205,7 @@ class CRM_Core_DAO_Domain extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Domain',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_PHP,
+          'add' => '3.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Email.php b/civicrm/CRM/Core/DAO/Email.php
index 083c4064db..673bc2a1e7 100644
--- a/civicrm/CRM/Core/DAO/Email.php
+++ b/civicrm/CRM/Core/DAO/Email.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Email.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ae76175a9d3e57bc555ce90cac672e73)
+ * (GenCodeChecksum:5dee79c90768ec9dfe94f80637b25438)
  */
 
 /**
@@ -154,6 +154,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'entity' => 'Email',
           'bao' => 'CRM_Core_BAO_Email',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -166,6 +167,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Email',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '2.0',
         ],
         'location_type_id' => [
           'name' => 'location_type_id',
@@ -185,6 +187,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'display_name',
           ],
+          'add' => '2.0',
         ],
         'email' => [
           'name' => 'email',
@@ -206,6 +209,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'is_primary' => [
           'name' => 'is_primary',
@@ -221,6 +225,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'html' => [
             'type' => 'Radio',
           ],
+          'add' => '1.1',
         ],
         'is_billing' => [
           'name' => 'is_billing',
@@ -233,6 +238,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'entity' => 'Email',
           'bao' => 'CRM_Core_BAO_Email',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'on_hold' => [
           'name' => 'on_hold',
@@ -253,6 +259,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_PseudoConstant::emailOnHoldOptions',
           ],
+          'add' => '1.1',
         ],
         'is_bulkmail' => [
           'name' => 'is_bulkmail',
@@ -267,6 +274,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'entity' => 'Email',
           'bao' => 'CRM_Core_BAO_Email',
           'localizable' => 0,
+          'add' => '1.9',
         ],
         'hold_date' => [
           'name' => 'hold_date',
@@ -278,6 +286,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'entity' => 'Email',
           'bao' => 'CRM_Core_BAO_Email',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'reset_date' => [
           'name' => 'reset_date',
@@ -289,6 +298,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'entity' => 'Email',
           'bao' => 'CRM_Core_BAO_Email',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'signature_text' => [
           'name' => 'signature_text',
@@ -303,6 +313,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'entity' => 'Email',
           'bao' => 'CRM_Core_BAO_Email',
           'localizable' => 0,
+          'add' => '3.2',
         ],
         'signature_html' => [
           'name' => 'signature_html',
@@ -317,6 +328,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'entity' => 'Email',
           'bao' => 'CRM_Core_BAO_Email',
           'localizable' => 0,
+          'add' => '3.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/EntityFile.php b/civicrm/CRM/Core/DAO/EntityFile.php
index 957ad0507c..67016c8e2d 100644
--- a/civicrm/CRM/Core/DAO/EntityFile.php
+++ b/civicrm/CRM/Core/DAO/EntityFile.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/EntityFile.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ed68159183f272ac4669f1a708bbebd7)
+ * (GenCodeChecksum:5b13b8bff09fbf73d26e01b25e02da6a)
  */
 
 /**
@@ -99,6 +99,7 @@ class CRM_Core_DAO_EntityFile extends CRM_Core_DAO {
           'entity' => 'EntityFile',
           'bao' => 'CRM_Core_DAO_EntityFile',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -112,6 +113,7 @@ class CRM_Core_DAO_EntityFile extends CRM_Core_DAO {
           'entity' => 'EntityFile',
           'bao' => 'CRM_Core_DAO_EntityFile',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -124,6 +126,7 @@ class CRM_Core_DAO_EntityFile extends CRM_Core_DAO {
           'entity' => 'EntityFile',
           'bao' => 'CRM_Core_DAO_EntityFile',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'file_id' => [
           'name' => 'file_id',
@@ -137,6 +140,7 @@ class CRM_Core_DAO_EntityFile extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_EntityFile',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_File',
+          'add' => '1.5',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/EntityTag.php b/civicrm/CRM/Core/DAO/EntityTag.php
index ae16002b14..6aeda133a1 100644
--- a/civicrm/CRM/Core/DAO/EntityTag.php
+++ b/civicrm/CRM/Core/DAO/EntityTag.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/EntityTag.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:af7c604a97027819d9c6316fb84d25bc)
+ * (GenCodeChecksum:575813b3b70a11190656e518e56f18a0)
  */
 
 /**
@@ -99,6 +99,7 @@ class CRM_Core_DAO_EntityTag extends CRM_Core_DAO {
           'entity' => 'EntityTag',
           'bao' => 'CRM_Core_BAO_EntityTag',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -116,6 +117,7 @@ class CRM_Core_DAO_EntityTag extends CRM_Core_DAO {
             'optionGroupName' => 'tag_used_for',
             'optionEditPath' => 'civicrm/admin/options/tag_used_for',
           ],
+          'add' => '3.2',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -128,6 +130,7 @@ class CRM_Core_DAO_EntityTag extends CRM_Core_DAO {
           'entity' => 'EntityTag',
           'bao' => 'CRM_Core_BAO_EntityTag',
           'localizable' => 0,
+          'add' => '3.2',
         ],
         'tag_id' => [
           'name' => 'tag_id',
@@ -149,6 +152,7 @@ class CRM_Core_DAO_EntityTag extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '1.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Extension.php b/civicrm/CRM/Core/DAO/Extension.php
index e233011934..7afc8430e7 100644
--- a/civicrm/CRM/Core/DAO/Extension.php
+++ b/civicrm/CRM/Core/DAO/Extension.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Extension.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:13eeed42541ea3b610faa3bc99f6d9cb)
+ * (GenCodeChecksum:4e6b6bfb7bbf462ebd361f5e7c62ac1a)
  */
 
 /**
@@ -109,6 +109,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO {
           'entity' => 'Extension',
           'bao' => 'CRM_Core_BAO_Extension',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'type' => [
           'name' => 'type',
@@ -128,6 +129,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getExtensionTypes',
           ],
+          'add' => '4.2',
         ],
         'full_name' => [
           'name' => 'full_name',
@@ -142,6 +144,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO {
           'entity' => 'Extension',
           'bao' => 'CRM_Core_BAO_Extension',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'name' => [
           'name' => 'name',
@@ -157,6 +160,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO {
           'entity' => 'Extension',
           'bao' => 'CRM_Core_BAO_Extension',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'label' => [
           'name' => 'label',
@@ -172,6 +176,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO {
           'entity' => 'Extension',
           'bao' => 'CRM_Core_BAO_Extension',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'file' => [
           'name' => 'file',
@@ -187,6 +192,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO {
           'entity' => 'Extension',
           'bao' => 'CRM_Core_BAO_Extension',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'schema_version' => [
           'name' => 'schema_version',
@@ -202,6 +208,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO {
           'entity' => 'Extension',
           'bao' => 'CRM_Core_BAO_Extension',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -214,6 +221,7 @@ class CRM_Core_DAO_Extension extends CRM_Core_DAO {
           'entity' => 'Extension',
           'bao' => 'CRM_Core_BAO_Extension',
           'localizable' => 0,
+          'add' => '4.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/File.php b/civicrm/CRM/Core/DAO/File.php
index 6b5380a404..0f32e7fd71 100644
--- a/civicrm/CRM/Core/DAO/File.php
+++ b/civicrm/CRM/Core/DAO/File.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/File.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1e39b61dad16348293a20264602193ad)
+ * (GenCodeChecksum:1bc05fe2402818a6290e68a36fe168fe)
  */
 
 /**
@@ -126,6 +126,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'file_type_id' => [
           'name' => 'file_type_id',
@@ -137,6 +138,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'mime_type' => [
           'name' => 'mime_type',
@@ -150,6 +152,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'uri' => [
           'name' => 'uri',
@@ -163,6 +166,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'document' => [
           'name' => 'document',
@@ -174,6 +178,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'description' => [
           'name' => 'description',
@@ -187,6 +192,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'upload_date' => [
           'name' => 'upload_date',
@@ -198,6 +204,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -210,6 +217,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '5.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/IM.php b/civicrm/CRM/Core/DAO/IM.php
index 9562be99bc..982f1beb8a 100644
--- a/civicrm/CRM/Core/DAO/IM.php
+++ b/civicrm/CRM/Core/DAO/IM.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/IM.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9ea5d47a6892a28874a633ca8c5ef92c)
+ * (GenCodeChecksum:f73279b90d715505d3139c09ce5ceafc)
  */
 
 /**
@@ -119,6 +119,7 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO {
           'entity' => 'IM',
           'bao' => 'CRM_Core_BAO_IM',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -131,6 +132,7 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_IM',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '2.0',
         ],
         'location_type_id' => [
           'name' => 'location_type_id',
@@ -150,6 +152,7 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'display_name',
           ],
+          'add' => '2.0',
         ],
         'name' => [
           'name' => 'name',
@@ -170,6 +173,7 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'provider_id' => [
           'name' => 'provider_id',
@@ -188,6 +192,7 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO {
             'optionGroupName' => 'instant_messenger_service',
             'optionEditPath' => 'civicrm/admin/options/instant_messenger_service',
           ],
+          'add' => '1.1',
         ],
         'is_primary' => [
           'name' => 'is_primary',
@@ -203,6 +208,7 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO {
           'html' => [
             'type' => 'Radio',
           ],
+          'add' => '1.1',
         ],
         'is_billing' => [
           'name' => 'is_billing',
@@ -215,6 +221,7 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO {
           'entity' => 'IM',
           'bao' => 'CRM_Core_BAO_IM',
           'localizable' => 0,
+          'add' => '2.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Job.php b/civicrm/CRM/Core/DAO/Job.php
index ead7c9687d..a241af3986 100644
--- a/civicrm/CRM/Core/DAO/Job.php
+++ b/civicrm/CRM/Core/DAO/Job.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Job.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b8624f719151185db79cd04810c2c2bf)
+ * (GenCodeChecksum:5cfbbbeeb4e0d0b23d6c82abe23aded7)
  */
 
 /**
@@ -147,6 +147,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
           'entity' => 'Job',
           'bao' => 'CRM_Core_BAO_Job',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -165,6 +166,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.1',
         ],
         'run_frequency' => [
           'name' => 'run_frequency',
@@ -185,6 +187,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getJobFrequency',
           ],
+          'add' => '4.1',
         ],
         'last_run' => [
           'name' => 'last_run',
@@ -198,6 +201,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
           'entity' => 'Job',
           'bao' => 'CRM_Core_BAO_Job',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'scheduled_run_date' => [
           'name' => 'scheduled_run_date',
@@ -211,6 +215,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
           'entity' => 'Job',
           'bao' => 'CRM_Core_BAO_Job',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'name' => [
           'name' => 'name',
@@ -224,6 +229,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
           'entity' => 'Job',
           'bao' => 'CRM_Core_BAO_Job',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'description' => [
           'name' => 'description',
@@ -237,6 +243,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
           'entity' => 'Job',
           'bao' => 'CRM_Core_BAO_Job',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'api_entity' => [
           'name' => 'api_entity',
@@ -250,6 +257,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
           'entity' => 'Job',
           'bao' => 'CRM_Core_BAO_Job',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'api_action' => [
           'name' => 'api_action',
@@ -263,6 +271,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
           'entity' => 'Job',
           'bao' => 'CRM_Core_BAO_Job',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'parameters' => [
           'name' => 'parameters',
@@ -279,6 +288,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '4.1',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -290,6 +300,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
           'entity' => 'Job',
           'bao' => 'CRM_Core_BAO_Job',
           'localizable' => 0,
+          'add' => '4.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/JobLog.php b/civicrm/CRM/Core/DAO/JobLog.php
index 2eafcf0807..1e3c4c7a1b 100644
--- a/civicrm/CRM/Core/DAO/JobLog.php
+++ b/civicrm/CRM/Core/DAO/JobLog.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/JobLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3456b559213c3916aad90a0db8789757)
+ * (GenCodeChecksum:f527883b8a0ffc96f31ac84515df66cc)
  */
 
 /**
@@ -126,6 +126,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -144,6 +145,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.1',
         ],
         'run_time' => [
           'name' => 'run_time',
@@ -155,6 +157,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'job_id' => [
           'name' => 'job_id',
@@ -166,6 +169,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'name' => [
           'name' => 'name',
@@ -179,6 +183,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'command' => [
           'name' => 'command',
@@ -192,6 +197,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'description' => [
           'name' => 'description',
@@ -205,6 +211,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'data' => [
           'name' => 'data',
@@ -216,6 +223,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
           'localizable' => 0,
+          'add' => '4.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/LocBlock.php b/civicrm/CRM/Core/DAO/LocBlock.php
index 9e8ff2b964..c5348a404b 100644
--- a/civicrm/CRM/Core/DAO/LocBlock.php
+++ b/civicrm/CRM/Core/DAO/LocBlock.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/LocBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a9b4f279ec52aa2e142cd26ae8beffd5)
+ * (GenCodeChecksum:47f6b976990c728b035f999587e0851d)
  */
 
 /**
@@ -124,6 +124,7 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
           'entity' => 'LocBlock',
           'bao' => 'CRM_Core_DAO_LocBlock',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'address_id' => [
           'name' => 'address_id',
@@ -135,6 +136,7 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_LocBlock',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Address',
+          'add' => '2.0',
         ],
         'email_id' => [
           'name' => 'email_id',
@@ -146,6 +148,7 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_LocBlock',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Email',
+          'add' => '2.0',
         ],
         'phone_id' => [
           'name' => 'phone_id',
@@ -157,6 +160,7 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_LocBlock',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Phone',
+          'add' => '2.0',
         ],
         'im_id' => [
           'name' => 'im_id',
@@ -168,6 +172,7 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_LocBlock',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_IM',
+          'add' => '2.0',
         ],
         'address_2_id' => [
           'name' => 'address_2_id',
@@ -179,6 +184,7 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_LocBlock',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Address',
+          'add' => '2.0',
         ],
         'email_2_id' => [
           'name' => 'email_2_id',
@@ -190,6 +196,7 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_LocBlock',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Email',
+          'add' => '2.0',
         ],
         'phone_2_id' => [
           'name' => 'phone_2_id',
@@ -201,6 +208,7 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_LocBlock',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Phone',
+          'add' => '2.0',
         ],
         'im_2_id' => [
           'name' => 'im_2_id',
@@ -212,6 +220,7 @@ class CRM_Core_DAO_LocBlock extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_LocBlock',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_IM',
+          'add' => '2.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/LocationType.php b/civicrm/CRM/Core/DAO/LocationType.php
index cdee58eb23..7b370b0e54 100644
--- a/civicrm/CRM/Core/DAO/LocationType.php
+++ b/civicrm/CRM/Core/DAO/LocationType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/LocationType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:260be4cdbe3a79363c3ada3137125c4a)
+ * (GenCodeChecksum:45661319893bf00134a39b130227890e)
  */
 
 /**
@@ -111,6 +111,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO {
           'entity' => 'LocationType',
           'bao' => 'CRM_Core_BAO_LocationType',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'name' => [
           'name' => 'name',
@@ -124,6 +125,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO {
           'entity' => 'LocationType',
           'bao' => 'CRM_Core_BAO_LocationType',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'display_name' => [
           'name' => 'display_name',
@@ -137,6 +139,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO {
           'entity' => 'LocationType',
           'bao' => 'CRM_Core_BAO_LocationType',
           'localizable' => 1,
+          'add' => '4.1',
         ],
         'vcard_name' => [
           'name' => 'vcard_name',
@@ -150,6 +153,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO {
           'entity' => 'LocationType',
           'bao' => 'CRM_Core_BAO_LocationType',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'description' => [
           'name' => 'description',
@@ -163,6 +167,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO {
           'entity' => 'LocationType',
           'bao' => 'CRM_Core_BAO_LocationType',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -174,6 +179,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO {
           'entity' => 'LocationType',
           'bao' => 'CRM_Core_BAO_LocationType',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -185,6 +191,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO {
           'entity' => 'LocationType',
           'bao' => 'CRM_Core_BAO_LocationType',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -196,6 +203,7 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO {
           'entity' => 'LocationType',
           'bao' => 'CRM_Core_BAO_LocationType',
           'localizable' => 0,
+          'add' => '1.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Log.php b/civicrm/CRM/Core/DAO/Log.php
index fcf63b7e2b..50c5cefad0 100644
--- a/civicrm/CRM/Core/DAO/Log.php
+++ b/civicrm/CRM/Core/DAO/Log.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Log.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0a82a165e8054985acc0f57feebc65ff)
+ * (GenCodeChecksum:7ff7a2d8da7e53b10ec91a7b8e8d1110)
  */
 
 /**
@@ -113,6 +113,7 @@ class CRM_Core_DAO_Log extends CRM_Core_DAO {
           'entity' => 'Log',
           'bao' => 'CRM_Core_BAO_Log',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -127,6 +128,7 @@ class CRM_Core_DAO_Log extends CRM_Core_DAO {
           'entity' => 'Log',
           'bao' => 'CRM_Core_BAO_Log',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -139,6 +141,7 @@ class CRM_Core_DAO_Log extends CRM_Core_DAO {
           'entity' => 'Log',
           'bao' => 'CRM_Core_BAO_Log',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'data' => [
           'name' => 'data',
@@ -150,6 +153,7 @@ class CRM_Core_DAO_Log extends CRM_Core_DAO {
           'entity' => 'Log',
           'bao' => 'CRM_Core_BAO_Log',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'modified_id' => [
           'name' => 'modified_id',
@@ -162,6 +166,7 @@ class CRM_Core_DAO_Log extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Log',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '1.5',
         ],
         'modified_date' => [
           'name' => 'modified_date',
@@ -173,6 +178,7 @@ class CRM_Core_DAO_Log extends CRM_Core_DAO {
           'entity' => 'Log',
           'bao' => 'CRM_Core_BAO_Log',
           'localizable' => 0,
+          'add' => '1.5',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/MailSettings.php b/civicrm/CRM/Core/DAO/MailSettings.php
index 70d5468446..0fa33164aa 100644
--- a/civicrm/CRM/Core/DAO/MailSettings.php
+++ b/civicrm/CRM/Core/DAO/MailSettings.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MailSettings.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:05dd0edd89684132a6caf6b165665737)
+ * (GenCodeChecksum:e70d05846b61d214ea9f60d28ab0ea5f)
  */
 
 /**
@@ -175,6 +175,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -193,6 +194,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.1',
         ],
         'name' => [
           'name' => 'name',
@@ -206,6 +208,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -217,6 +220,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'domain' => [
           'name' => 'domain',
@@ -230,6 +234,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'localpart' => [
           'name' => 'localpart',
@@ -243,6 +248,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'return_path' => [
           'name' => 'return_path',
@@ -256,6 +262,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'protocol' => [
           'name' => 'protocol',
@@ -276,6 +283,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
             'optionGroupName' => 'mail_protocol',
             'optionEditPath' => 'civicrm/admin/options/mail_protocol',
           ],
+          'add' => '2.2',
         ],
         'server' => [
           'name' => 'server',
@@ -289,6 +297,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'port' => [
           'name' => 'port',
@@ -300,6 +309,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'username' => [
           'name' => 'username',
@@ -313,6 +323,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'password' => [
           'name' => 'password',
@@ -326,6 +337,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'is_ssl' => [
           'name' => 'is_ssl',
@@ -337,6 +349,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'source' => [
           'name' => 'source',
@@ -350,6 +363,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'activity_status' => [
           'name' => 'activity_status',
@@ -371,6 +385,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
             'keyColumn' => 'name',
             'optionEditPath' => 'civicrm/admin/options/activity_status',
           ],
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Managed.php b/civicrm/CRM/Core/DAO/Managed.php
index db3505cdf7..7efa138bdb 100644
--- a/civicrm/CRM/Core/DAO/Managed.php
+++ b/civicrm/CRM/Core/DAO/Managed.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Managed.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7063a28b0e93d12d335eaad9de5f2aa7)
+ * (GenCodeChecksum:c8c7af16287be72637859c156275c375)
  */
 
 /**
@@ -97,6 +97,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
           'entity' => 'Managed',
           'bao' => 'CRM_Core_DAO_Managed',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'module' => [
           'name' => 'module',
@@ -111,6 +112,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
           'entity' => 'Managed',
           'bao' => 'CRM_Core_DAO_Managed',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'name' => [
           'name' => 'name',
@@ -124,6 +126,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
           'entity' => 'Managed',
           'bao' => 'CRM_Core_DAO_Managed',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'entity_type' => [
           'name' => 'entity_type',
@@ -138,6 +141,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
           'entity' => 'Managed',
           'bao' => 'CRM_Core_DAO_Managed',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -150,6 +154,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
           'entity' => 'Managed',
           'bao' => 'CRM_Core_DAO_Managed',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'cleanup' => [
           'name' => 'cleanup',
@@ -169,6 +174,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_ManagedEntities::getCleanupOptions',
           ],
+          'add' => '4.5',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Mapping.php b/civicrm/CRM/Core/DAO/Mapping.php
index d2150301d9..c363c79539 100644
--- a/civicrm/CRM/Core/DAO/Mapping.php
+++ b/civicrm/CRM/Core/DAO/Mapping.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Mapping.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3f02847e736fe72f375e4ff32c2a61c5)
+ * (GenCodeChecksum:4c33c79135f1613facc7f06300b0a47c)
  */
 
 /**
@@ -83,6 +83,7 @@ class CRM_Core_DAO_Mapping extends CRM_Core_DAO {
           'entity' => 'Mapping',
           'bao' => 'CRM_Core_BAO_Mapping',
           'localizable' => 0,
+          'add' => '1.2',
         ],
         'name' => [
           'name' => 'name',
@@ -96,6 +97,7 @@ class CRM_Core_DAO_Mapping extends CRM_Core_DAO {
           'entity' => 'Mapping',
           'bao' => 'CRM_Core_BAO_Mapping',
           'localizable' => 0,
+          'add' => '1.2',
         ],
         'description' => [
           'name' => 'description',
@@ -109,6 +111,7 @@ class CRM_Core_DAO_Mapping extends CRM_Core_DAO {
           'entity' => 'Mapping',
           'bao' => 'CRM_Core_BAO_Mapping',
           'localizable' => 0,
+          'add' => '1.2',
         ],
         'mapping_type_id' => [
           'name' => 'mapping_type_id',
@@ -127,6 +130,7 @@ class CRM_Core_DAO_Mapping extends CRM_Core_DAO {
             'optionGroupName' => 'mapping_type',
             'optionEditPath' => 'civicrm/admin/options/mapping_type',
           ],
+          'add' => '2.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/MappingField.php b/civicrm/CRM/Core/DAO/MappingField.php
index d6f81beed4..e4f9fc7626 100644
--- a/civicrm/CRM/Core/DAO/MappingField.php
+++ b/civicrm/CRM/Core/DAO/MappingField.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MappingField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:77ca1e64609d29de090d71311dc0e7ac)
+ * (GenCodeChecksum:d65d5ace6f88f08961f12c5398d815d2)
  */
 
 /**
@@ -169,6 +169,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
           'entity' => 'MappingField',
           'bao' => 'CRM_Core_DAO_MappingField',
           'localizable' => 0,
+          'add' => '1.2',
         ],
         'mapping_id' => [
           'name' => 'mapping_id',
@@ -182,6 +183,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_MappingField',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Mapping',
+          'add' => '1.2',
         ],
         'name' => [
           'name' => 'name',
@@ -195,6 +197,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
           'entity' => 'MappingField',
           'bao' => 'CRM_Core_DAO_MappingField',
           'localizable' => 0,
+          'add' => '1.2',
         ],
         'contact_type' => [
           'name' => 'contact_type',
@@ -211,6 +214,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '1.2',
         ],
         'column_number' => [
           'name' => 'column_number',
@@ -223,6 +227,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
           'entity' => 'MappingField',
           'bao' => 'CRM_Core_DAO_MappingField',
           'localizable' => 0,
+          'add' => '1.2',
         ],
         'location_type_id' => [
           'name' => 'location_type_id',
@@ -240,6 +245,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'display_name',
           ],
+          'add' => '1.2',
         ],
         'phone_type_id' => [
           'name' => 'phone_type_id',
@@ -251,6 +257,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
           'entity' => 'MappingField',
           'bao' => 'CRM_Core_DAO_MappingField',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'im_provider_id' => [
           'name' => 'im_provider_id',
@@ -269,6 +276,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
             'optionGroupName' => 'instant_messenger_service',
             'optionEditPath' => 'civicrm/admin/options/instant_messenger_service',
           ],
+          'add' => '3.0',
         ],
         'website_type_id' => [
           'name' => 'website_type_id',
@@ -287,6 +295,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
             'optionGroupName' => 'website_type',
             'optionEditPath' => 'civicrm/admin/options/website_type',
           ],
+          'add' => '3.2',
         ],
         'relationship_type_id' => [
           'name' => 'relationship_type_id',
@@ -299,6 +308,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_MappingField',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_RelationshipType',
+          'add' => '1.2',
         ],
         'relationship_direction' => [
           'name' => 'relationship_direction',
@@ -311,6 +321,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
           'entity' => 'MappingField',
           'bao' => 'CRM_Core_DAO_MappingField',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'grouping' => [
           'name' => 'grouping',
@@ -324,6 +335,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
           'entity' => 'MappingField',
           'bao' => 'CRM_Core_DAO_MappingField',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'operator' => [
           'name' => 'operator',
@@ -343,6 +355,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getSearchBuilderOperators',
           ],
+          'add' => '1.5',
         ],
         'value' => [
           'name' => 'value',
@@ -356,6 +369,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO {
           'entity' => 'MappingField',
           'bao' => 'CRM_Core_DAO_MappingField',
           'localizable' => 0,
+          'add' => '1.5',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Menu.php b/civicrm/CRM/Core/DAO/Menu.php
index b6e000e03b..bca8a001b1 100644
--- a/civicrm/CRM/Core/DAO/Menu.php
+++ b/civicrm/CRM/Core/DAO/Menu.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Menu.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:96c64cb8e13a36f16745aefaff64440a)
+ * (GenCodeChecksum:331d6cd230e6c19fa0626b02a9aed193)
  */
 
 /**
@@ -220,6 +220,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -238,6 +239,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.0',
         ],
         'path' => [
           'name' => 'path',
@@ -251,6 +253,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'path_arguments' => [
           'name' => 'path_arguments',
@@ -262,6 +265,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'title' => [
           'name' => 'title',
@@ -274,6 +278,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'access_callback' => [
           'name' => 'access_callback',
@@ -287,6 +292,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'access_arguments' => [
           'name' => 'access_arguments',
@@ -298,6 +304,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'page_callback' => [
           'name' => 'page_callback',
@@ -311,6 +318,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'page_arguments' => [
           'name' => 'page_arguments',
@@ -322,6 +330,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'breadcrumb' => [
           'name' => 'breadcrumb',
@@ -333,6 +342,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'return_url' => [
           'name' => 'return_url',
@@ -346,6 +356,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'return_url_args' => [
           'name' => 'return_url_args',
@@ -359,6 +370,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'component_id' => [
           'name' => 'component_id',
@@ -379,6 +391,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '2.1',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -390,6 +403,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'is_public' => [
           'name' => 'is_public',
@@ -401,6 +415,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'is_exposed' => [
           'name' => 'is_exposed',
@@ -412,6 +427,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'is_ssl' => [
           'name' => 'is_ssl',
@@ -423,6 +439,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'weight' => [
           'name' => 'weight',
@@ -436,6 +453,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'type' => [
           'name' => 'type',
@@ -449,6 +467,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'page_type' => [
           'name' => 'page_type',
@@ -462,6 +481,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'skipBreadcrumb' => [
           'name' => 'skipBreadcrumb',
@@ -473,6 +493,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'module_data' => [
           'name' => 'module_data',
@@ -484,6 +505,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
           'localizable' => 0,
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/MessageTemplate.php b/civicrm/CRM/Core/DAO/MessageTemplate.php
index f9d7dcb675..f16d97cf54 100644
--- a/civicrm/CRM/Core/DAO/MessageTemplate.php
+++ b/civicrm/CRM/Core/DAO/MessageTemplate.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MessageTemplate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:90ed9b8ad7299f01d2f83ea90b7b7a15)
+ * (GenCodeChecksum:fdf0d578ddbe75b30cd254f351307115)
  */
 
 /**
@@ -135,6 +135,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'entity' => 'MessageTemplate',
           'bao' => 'CRM_Core_BAO_MessageTemplate',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'msg_title' => [
           'name' => 'msg_title',
@@ -148,6 +149,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'entity' => 'MessageTemplate',
           'bao' => 'CRM_Core_BAO_MessageTemplate',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'msg_subject' => [
           'name' => 'msg_subject',
@@ -159,6 +161,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'entity' => 'MessageTemplate',
           'bao' => 'CRM_Core_BAO_MessageTemplate',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'msg_text' => [
           'name' => 'msg_text',
@@ -173,6 +176,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.6',
         ],
         'msg_html' => [
           'name' => 'msg_html',
@@ -187,6 +191,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '1.6',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -198,6 +203,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'entity' => 'MessageTemplate',
           'bao' => 'CRM_Core_BAO_MessageTemplate',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'workflow_id' => [
           'name' => 'workflow_id',
@@ -209,6 +215,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'entity' => 'MessageTemplate',
           'bao' => 'CRM_Core_BAO_MessageTemplate',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'workflow_name' => [
           'name' => 'workflow_name',
@@ -221,6 +228,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'entity' => 'MessageTemplate',
           'bao' => 'CRM_Core_BAO_MessageTemplate',
           'localizable' => 0,
+          'add' => '5.26',
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -233,6 +241,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'entity' => 'MessageTemplate',
           'bao' => 'CRM_Core_BAO_MessageTemplate',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -244,6 +253,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'entity' => 'MessageTemplate',
           'bao' => 'CRM_Core_BAO_MessageTemplate',
           'localizable' => 0,
+          'add' => '3.1',
         ],
         'is_sms' => [
           'name' => 'is_sms',
@@ -256,6 +266,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'entity' => 'MessageTemplate',
           'bao' => 'CRM_Core_BAO_MessageTemplate',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'pdf_format_id' => [
           'name' => 'pdf_format_id',
@@ -272,6 +283,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'optionEditPath' => 'civicrm/admin/options/pdf_format',
           ],
+          'add' => '3.4',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Navigation.php b/civicrm/CRM/Core/DAO/Navigation.php
index 9563a84181..ab32f55843 100644
--- a/civicrm/CRM/Core/DAO/Navigation.php
+++ b/civicrm/CRM/Core/DAO/Navigation.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Navigation.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:aeeb917df8c32ff97102c2c710d41d19)
+ * (GenCodeChecksum:02dc21d22f489dbe9bdc3e21d8c80276)
  */
 
 /**
@@ -152,6 +152,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -170,6 +171,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.0',
         ],
         'label' => [
           'name' => 'label',
@@ -183,6 +185,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'name' => [
           'name' => 'name',
@@ -196,6 +199,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'url' => [
           'name' => 'url',
@@ -209,6 +213,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'icon' => [
           'name' => 'icon',
@@ -224,6 +229,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'permission' => [
           'name' => 'permission',
@@ -237,6 +243,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'permission_operator' => [
           'name' => 'permission_operator',
@@ -250,6 +257,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'parent_id' => [
           'name' => 'parent_id',
@@ -268,6 +276,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
             'labelColumn' => 'label',
             'nameColumn' => 'name',
           ],
+          'add' => '3.0',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -279,6 +288,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'has_separator' => [
           'name' => 'has_separator',
@@ -290,6 +300,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'weight' => [
           'name' => 'weight',
@@ -301,6 +312,7 @@ class CRM_Core_DAO_Navigation extends CRM_Core_DAO {
           'entity' => 'Navigation',
           'bao' => 'CRM_Core_BAO_Navigation',
           'localizable' => 0,
+          'add' => '3.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Note.php b/civicrm/CRM/Core/DAO/Note.php
index 6d4d873746..6fce085aaa 100644
--- a/civicrm/CRM/Core/DAO/Note.php
+++ b/civicrm/CRM/Core/DAO/Note.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Note.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7a58bb39022811ac55bfaed58c241487)
+ * (GenCodeChecksum:e2246af5e5b340e108d55b4e0875d27f)
  */
 
 /**
@@ -127,6 +127,7 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO {
           'entity' => 'Note',
           'bao' => 'CRM_Core_BAO_Note',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -144,6 +145,7 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_BAO_Note::entityTables',
           ],
+          'add' => '1.1',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -156,6 +158,7 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO {
           'entity' => 'Note',
           'bao' => 'CRM_Core_BAO_Note',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'note' => [
           'name' => 'note',
@@ -176,6 +179,7 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -188,6 +192,7 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Note',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '1.1',
         ],
         'modified_date' => [
           'name' => 'modified_date',
@@ -200,6 +205,7 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO {
           'entity' => 'Note',
           'bao' => 'CRM_Core_BAO_Note',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'subject' => [
           'name' => 'subject',
@@ -216,6 +222,7 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.5',
         ],
         'privacy' => [
           'name' => 'privacy',
@@ -236,6 +243,7 @@ class CRM_Core_DAO_Note extends CRM_Core_DAO {
             'optionGroupName' => 'note_privacy',
             'optionEditPath' => 'civicrm/admin/options/note_privacy',
           ],
+          'add' => '3.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/OpenID.php b/civicrm/CRM/Core/DAO/OpenID.php
index fcce8503fb..98be8b7f43 100644
--- a/civicrm/CRM/Core/DAO/OpenID.php
+++ b/civicrm/CRM/Core/DAO/OpenID.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OpenID.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2afae5cc76cd5df22b314276138fc122)
+ * (GenCodeChecksum:590cf1e26396320ee98708975016940b)
  */
 
 /**
@@ -112,6 +112,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           'entity' => 'OpenID',
           'bao' => 'CRM_Core_BAO_OpenID',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -124,6 +125,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_OpenID',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '2.0',
         ],
         'location_type_id' => [
           'name' => 'location_type_id',
@@ -140,6 +142,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'display_name',
           ],
+          'add' => '2.0',
         ],
         'openid' => [
           'name' => 'openid',
@@ -158,6 +161,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           'entity' => 'OpenID',
           'bao' => 'CRM_Core_BAO_OpenID',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'allowed_to_login' => [
           'name' => 'allowed_to_login',
@@ -171,6 +175,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           'entity' => 'OpenID',
           'bao' => 'CRM_Core_BAO_OpenID',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'is_primary' => [
           'name' => 'is_primary',
@@ -186,6 +191,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           'html' => [
             'type' => 'Radio',
           ],
+          'add' => '2.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/OptionGroup.php b/civicrm/CRM/Core/DAO/OptionGroup.php
index 5b8b744b54..dd49457669 100644
--- a/civicrm/CRM/Core/DAO/OptionGroup.php
+++ b/civicrm/CRM/Core/DAO/OptionGroup.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OptionGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:54d95c919472473c234b6747d668bf85)
+ * (GenCodeChecksum:b9e95c6c280f9beaaaa03a30e3c84f44)
  */
 
 /**
@@ -111,6 +111,7 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
           'entity' => 'OptionGroup',
           'bao' => 'CRM_Core_BAO_OptionGroup',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'name' => [
           'name' => 'name',
@@ -125,6 +126,7 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
           'entity' => 'OptionGroup',
           'bao' => 'CRM_Core_BAO_OptionGroup',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'title' => [
           'name' => 'title',
@@ -138,6 +140,7 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
           'entity' => 'OptionGroup',
           'bao' => 'CRM_Core_BAO_OptionGroup',
           'localizable' => 1,
+          'add' => '1.5',
         ],
         'description' => [
           'name' => 'description',
@@ -151,6 +154,7 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
           'entity' => 'OptionGroup',
           'bao' => 'CRM_Core_BAO_OptionGroup',
           'localizable' => 1,
+          'add' => '1.5',
         ],
         'data_type' => [
           'name' => 'data_type',
@@ -167,6 +171,7 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Utils_Type::dataTypes',
           ],
+          'add' => '4.7',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -180,6 +185,7 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
           'entity' => 'OptionGroup',
           'bao' => 'CRM_Core_BAO_OptionGroup',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -193,6 +199,7 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
           'entity' => 'OptionGroup',
           'bao' => 'CRM_Core_BAO_OptionGroup',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'is_locked' => [
           'name' => 'is_locked',
@@ -206,6 +213,7 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO {
           'entity' => 'OptionGroup',
           'bao' => 'CRM_Core_BAO_OptionGroup',
           'localizable' => 0,
+          'add' => '4.5',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/OptionValue.php b/civicrm/CRM/Core/DAO/OptionValue.php
index c2418be597..ff0aa1d1a3 100644
--- a/civicrm/CRM/Core/DAO/OptionValue.php
+++ b/civicrm/CRM/Core/DAO/OptionValue.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OptionValue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5997192c77d86867e8d13c353dd02351)
+ * (GenCodeChecksum:24ed1eae5afe1ade95a7819a2579ff7d)
  */
 
 /**
@@ -196,6 +196,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'entity' => 'OptionValue',
           'bao' => 'CRM_Core_BAO_OptionValue',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'option_group_id' => [
           'name' => 'option_group_id',
@@ -218,6 +219,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
             'labelColumn' => 'title',
             'nameColumn' => 'name',
           ],
+          'add' => '1.5',
         ],
         'label' => [
           'name' => 'label',
@@ -232,6 +234,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'entity' => 'OptionValue',
           'bao' => 'CRM_Core_BAO_OptionValue',
           'localizable' => 1,
+          'add' => '1.5',
         ],
         'value' => [
           'name' => 'value',
@@ -246,6 +249,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'entity' => 'OptionValue',
           'bao' => 'CRM_Core_BAO_OptionValue',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'name' => [
           'name' => 'name',
@@ -261,6 +265,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'entity' => 'OptionValue',
           'bao' => 'CRM_Core_BAO_OptionValue',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'grouping' => [
           'name' => 'grouping',
@@ -274,6 +279,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'entity' => 'OptionValue',
           'bao' => 'CRM_Core_BAO_OptionValue',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'filter' => [
           'name' => 'filter',
@@ -286,6 +292,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'entity' => 'OptionValue',
           'bao' => 'CRM_Core_BAO_OptionValue',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -298,6 +305,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'entity' => 'OptionValue',
           'bao' => 'CRM_Core_BAO_OptionValue',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'weight' => [
           'name' => 'weight',
@@ -310,6 +318,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'entity' => 'OptionValue',
           'bao' => 'CRM_Core_BAO_OptionValue',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'description' => [
           'name' => 'description',
@@ -326,6 +335,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.5',
         ],
         'is_optgroup' => [
           'name' => 'is_optgroup',
@@ -338,6 +348,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'entity' => 'OptionValue',
           'bao' => 'CRM_Core_BAO_OptionValue',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -350,6 +361,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'entity' => 'OptionValue',
           'bao' => 'CRM_Core_BAO_OptionValue',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -362,6 +374,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'entity' => 'OptionValue',
           'bao' => 'CRM_Core_BAO_OptionValue',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'component_id' => [
           'name' => 'component_id',
@@ -382,6 +395,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '2.0',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -399,6 +413,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.1',
         ],
         'visibility_id' => [
           'name' => 'visibility_id',
@@ -414,6 +429,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
             'optionGroupName' => 'visibility',
             'optionEditPath' => 'civicrm/admin/options/visibility',
           ],
+          'add' => '2.2',
         ],
         'icon' => [
           'name' => 'icon',
@@ -428,6 +444,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'entity' => 'OptionValue',
           'bao' => 'CRM_Core_BAO_OptionValue',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'color' => [
           'name' => 'color',
@@ -442,6 +459,7 @@ class CRM_Core_DAO_OptionValue extends CRM_Core_DAO {
           'entity' => 'OptionValue',
           'bao' => 'CRM_Core_BAO_OptionValue',
           'localizable' => 0,
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Phone.php b/civicrm/CRM/Core/DAO/Phone.php
index f0b7498084..be789fd3bc 100644
--- a/civicrm/CRM/Core/DAO/Phone.php
+++ b/civicrm/CRM/Core/DAO/Phone.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Phone.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:76a7202934e0d8aa7f4240c61a42e42c)
+ * (GenCodeChecksum:39b07920024b0e7b3c9d36db65adcd53)
  */
 
 /**
@@ -140,6 +140,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
           'entity' => 'Phone',
           'bao' => 'CRM_Core_BAO_Phone',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -152,6 +153,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Phone',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '2.0',
         ],
         'location_type_id' => [
           'name' => 'location_type_id',
@@ -171,6 +173,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'display_name',
           ],
+          'add' => '2.0',
         ],
         'is_primary' => [
           'name' => 'is_primary',
@@ -186,6 +189,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
           'html' => [
             'type' => 'Radio',
           ],
+          'add' => '1.1',
         ],
         'is_billing' => [
           'name' => 'is_billing',
@@ -198,6 +202,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
           'entity' => 'Phone',
           'bao' => 'CRM_Core_BAO_Phone',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'mobile_provider_id' => [
           'name' => 'mobile_provider_id',
@@ -209,6 +214,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
           'entity' => 'Phone',
           'bao' => 'CRM_Core_BAO_Phone',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'phone' => [
           'name' => 'phone',
@@ -229,6 +235,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'phone_ext' => [
           'name' => 'phone_ext',
@@ -249,6 +256,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.3',
         ],
         'phone_numeric' => [
           'name' => 'phone_numeric',
@@ -262,6 +270,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
           'entity' => 'Phone',
           'bao' => 'CRM_Core_BAO_Phone',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'phone_type_id' => [
           'name' => 'phone_type_id',
@@ -281,6 +290,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
             'optionGroupName' => 'phone_type',
             'optionEditPath' => 'civicrm/admin/options/phone_type',
           ],
+          'add' => '2.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/PreferencesDate.php b/civicrm/CRM/Core/DAO/PreferencesDate.php
index 25a2e2b969..bdd327ef2c 100644
--- a/civicrm/CRM/Core/DAO/PreferencesDate.php
+++ b/civicrm/CRM/Core/DAO/PreferencesDate.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PreferencesDate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ae20ee814de4f0fe71ac45d4a392fba9)
+ * (GenCodeChecksum:50eb5ce96ed193252647cb79e73b0aa3)
  */
 
 /**
@@ -101,6 +101,7 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO {
           'entity' => 'PreferencesDate',
           'bao' => 'CRM_Core_BAO_PreferencesDate',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'name' => [
           'name' => 'name',
@@ -115,6 +116,7 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO {
           'entity' => 'PreferencesDate',
           'bao' => 'CRM_Core_BAO_PreferencesDate',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'description' => [
           'name' => 'description',
@@ -128,6 +130,7 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO {
           'entity' => 'PreferencesDate',
           'bao' => 'CRM_Core_BAO_PreferencesDate',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'start' => [
           'name' => 'start',
@@ -140,6 +143,7 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO {
           'entity' => 'PreferencesDate',
           'bao' => 'CRM_Core_BAO_PreferencesDate',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'end' => [
           'name' => 'end',
@@ -152,6 +156,7 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO {
           'entity' => 'PreferencesDate',
           'bao' => 'CRM_Core_BAO_PreferencesDate',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'date_format' => [
           'name' => 'date_format',
@@ -165,6 +170,7 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO {
           'entity' => 'PreferencesDate',
           'bao' => 'CRM_Core_BAO_PreferencesDate',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'time_format' => [
           'name' => 'time_format',
@@ -178,6 +184,7 @@ class CRM_Core_DAO_PreferencesDate extends CRM_Core_DAO {
           'entity' => 'PreferencesDate',
           'bao' => 'CRM_Core_BAO_PreferencesDate',
           'localizable' => 0,
+          'add' => '3.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/PrevNextCache.php b/civicrm/CRM/Core/DAO/PrevNextCache.php
index 69baeea85f..e88aaaa45a 100644
--- a/civicrm/CRM/Core/DAO/PrevNextCache.php
+++ b/civicrm/CRM/Core/DAO/PrevNextCache.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PrevNextCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b3e9aecea5100250d4b6ce9a4f6ca036)
+ * (GenCodeChecksum:c44e8fa5c83e9f3788e476843d8e1167)
  */
 
 /**
@@ -99,6 +99,7 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO {
           'entity' => 'PrevNextCache',
           'bao' => 'CRM_Core_BAO_PrevNextCache',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -112,6 +113,7 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO {
           'entity' => 'PrevNextCache',
           'bao' => 'CRM_Core_BAO_PrevNextCache',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'entity_id1' => [
           'name' => 'entity_id1',
@@ -124,6 +126,7 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO {
           'entity' => 'PrevNextCache',
           'bao' => 'CRM_Core_BAO_PrevNextCache',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'entity_id2' => [
           'name' => 'entity_id2',
@@ -136,6 +139,7 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO {
           'entity' => 'PrevNextCache',
           'bao' => 'CRM_Core_BAO_PrevNextCache',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'cachekey' => [
           'name' => 'cachekey',
@@ -149,6 +153,7 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO {
           'entity' => 'PrevNextCache',
           'bao' => 'CRM_Core_BAO_PrevNextCache',
           'localizable' => 0,
+          'add' => '3.4',
         ],
         'data' => [
           'name' => 'data',
@@ -161,6 +166,7 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_PrevNextCache',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_PHP,
+          'add' => '3.4',
         ],
         'is_selected' => [
           'name' => 'is_selected',
@@ -172,6 +178,7 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO {
           'entity' => 'PrevNextCache',
           'bao' => 'CRM_Core_BAO_PrevNextCache',
           'localizable' => 0,
+          'add' => '4.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/PrintLabel.php b/civicrm/CRM/Core/DAO/PrintLabel.php
index 45737762f2..ac29cf299d 100644
--- a/civicrm/CRM/Core/DAO/PrintLabel.php
+++ b/civicrm/CRM/Core/DAO/PrintLabel.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PrintLabel.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b8dffa0c7640137bb8dede0fd7c67cff)
+ * (GenCodeChecksum:0944404f5fcaff1c511b5e70629903e5)
  */
 
 /**
@@ -144,6 +144,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
           'entity' => 'PrintLabel',
           'bao' => 'CRM_Core_DAO_PrintLabel',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'title' => [
           'name' => 'title',
@@ -157,6 +158,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
           'entity' => 'PrintLabel',
           'bao' => 'CRM_Core_DAO_PrintLabel',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'name' => [
           'name' => 'name',
@@ -170,6 +172,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
           'entity' => 'PrintLabel',
           'bao' => 'CRM_Core_DAO_PrintLabel',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'description' => [
           'name' => 'description',
@@ -181,6 +184,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
           'entity' => 'PrintLabel',
           'bao' => 'CRM_Core_DAO_PrintLabel',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'label_format_name' => [
           'name' => 'label_format_name',
@@ -201,6 +205,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
             'optionGroupName' => 'name_badge',
             'optionEditPath' => 'civicrm/admin/options/name_badge',
           ],
+          'add' => '4.4',
         ],
         'label_type_id' => [
           'name' => 'label_type_id',
@@ -219,6 +224,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
             'optionGroupName' => 'label_type',
             'optionEditPath' => 'civicrm/admin/options/label_type',
           ],
+          'add' => '4.4',
         ],
         'data' => [
           'name' => 'data',
@@ -231,6 +237,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_PrintLabel',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_JSON,
+          'add' => '4.4',
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -243,6 +250,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
           'entity' => 'PrintLabel',
           'bao' => 'CRM_Core_DAO_PrintLabel',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -255,6 +263,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
           'entity' => 'PrintLabel',
           'bao' => 'CRM_Core_DAO_PrintLabel',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -267,6 +276,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
           'entity' => 'PrintLabel',
           'bao' => 'CRM_Core_DAO_PrintLabel',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -279,6 +289,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_PrintLabel',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.4',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/RecurringEntity.php b/civicrm/CRM/Core/DAO/RecurringEntity.php
index c785d99070..c9023b3a3a 100644
--- a/civicrm/CRM/Core/DAO/RecurringEntity.php
+++ b/civicrm/CRM/Core/DAO/RecurringEntity.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/RecurringEntity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f1f931c974eaf11d7540549468feae59)
+ * (GenCodeChecksum:fd18d33aacf63c913fcef79e763f7d41)
  */
 
 /**
@@ -87,6 +87,7 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO {
           'entity' => 'RecurringEntity',
           'bao' => 'CRM_Core_BAO_RecurringEntity',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'parent_id' => [
           'name' => 'parent_id',
@@ -99,6 +100,7 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO {
           'entity' => 'RecurringEntity',
           'bao' => 'CRM_Core_BAO_RecurringEntity',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -110,6 +112,7 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO {
           'entity' => 'RecurringEntity',
           'bao' => 'CRM_Core_BAO_RecurringEntity',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -124,6 +127,7 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO {
           'entity' => 'RecurringEntity',
           'bao' => 'CRM_Core_BAO_RecurringEntity',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'mode' => [
           'name' => 'mode',
@@ -137,6 +141,7 @@ class CRM_Core_DAO_RecurringEntity extends CRM_Core_DAO {
           'entity' => 'RecurringEntity',
           'bao' => 'CRM_Core_BAO_RecurringEntity',
           'localizable' => 0,
+          'add' => '4.6',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Setting.php b/civicrm/CRM/Core/DAO/Setting.php
index 272b4cbfa2..fffdc59011 100644
--- a/civicrm/CRM/Core/DAO/Setting.php
+++ b/civicrm/CRM/Core/DAO/Setting.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Setting.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b4d9feaf199010473cdf5b2d0a0d2f5e)
+ * (GenCodeChecksum:90140ef2a7d1bedb4d03ed4bf81d0fdc)
  */
 
 /**
@@ -133,6 +133,7 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO {
           'entity' => 'Setting',
           'bao' => 'CRM_Core_BAO_Setting',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'name' => [
           'name' => 'name',
@@ -146,6 +147,7 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO {
           'entity' => 'Setting',
           'bao' => 'CRM_Core_BAO_Setting',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'value' => [
           'name' => 'value',
@@ -158,6 +160,7 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Setting',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_PHP,
+          'add' => '4.1',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -176,6 +179,7 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.1',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -188,6 +192,7 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Setting',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.1',
         ],
         'is_domain' => [
           'name' => 'is_domain',
@@ -199,6 +204,7 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO {
           'entity' => 'Setting',
           'bao' => 'CRM_Core_BAO_Setting',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'component_id' => [
           'name' => 'component_id',
@@ -219,6 +225,7 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.1',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -230,6 +237,7 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO {
           'entity' => 'Setting',
           'bao' => 'CRM_Core_BAO_Setting',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -242,6 +250,7 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Setting',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/StateProvince.php b/civicrm/CRM/Core/DAO/StateProvince.php
index 94162e8ac2..adadf4f3bf 100644
--- a/civicrm/CRM/Core/DAO/StateProvince.php
+++ b/civicrm/CRM/Core/DAO/StateProvince.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StateProvince.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4e9d53ba801682110c3839eb703aa052)
+ * (GenCodeChecksum:190e7f5927d8d8c42d4368cfb63f9519)
  */
 
 /**
@@ -98,6 +98,7 @@ class CRM_Core_DAO_StateProvince extends CRM_Core_DAO {
           'entity' => 'StateProvince',
           'bao' => 'CRM_Core_DAO_StateProvince',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'name' => [
           'name' => 'name',
@@ -115,6 +116,7 @@ class CRM_Core_DAO_StateProvince extends CRM_Core_DAO {
           'entity' => 'StateProvince',
           'bao' => 'CRM_Core_DAO_StateProvince',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'abbreviation' => [
           'name' => 'abbreviation',
@@ -128,6 +130,7 @@ class CRM_Core_DAO_StateProvince extends CRM_Core_DAO {
           'entity' => 'StateProvince',
           'bao' => 'CRM_Core_DAO_StateProvince',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'country_id' => [
           'name' => 'country_id',
@@ -141,6 +144,7 @@ class CRM_Core_DAO_StateProvince extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_StateProvince',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Country',
+          'add' => '1.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/StatusPreference.php b/civicrm/CRM/Core/DAO/StatusPreference.php
index 996cd9c8d1..2f1797f6f4 100644
--- a/civicrm/CRM/Core/DAO/StatusPreference.php
+++ b/civicrm/CRM/Core/DAO/StatusPreference.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StatusPreference.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:58684eb3e6d1e474bae8449f4a84ef63)
+ * (GenCodeChecksum:0d3fd2d0e99990969c2057cb9370fb49)
  */
 
 /**
@@ -126,6 +126,7 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
           'entity' => 'StatusPreference',
           'bao' => 'CRM_Core_BAO_StatusPreference',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -144,6 +145,7 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.7',
         ],
         'name' => [
           'name' => 'name',
@@ -160,6 +162,7 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
           'entity' => 'StatusPreference',
           'bao' => 'CRM_Core_BAO_StatusPreference',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'hush_until' => [
           'name' => 'hush_until',
@@ -174,6 +177,7 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
           'entity' => 'StatusPreference',
           'bao' => 'CRM_Core_BAO_StatusPreference',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'ignore_severity' => [
           'name' => 'ignore_severity',
@@ -191,6 +195,7 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Utils_Check::getSeverityList',
           ],
+          'add' => '4.7',
         ],
         'prefs' => [
           'name' => 'prefs',
@@ -204,6 +209,7 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
           'entity' => 'StatusPreference',
           'bao' => 'CRM_Core_BAO_StatusPreference',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'check_info' => [
           'name' => 'check_info',
@@ -217,6 +223,7 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
           'entity' => 'StatusPreference',
           'bao' => 'CRM_Core_BAO_StatusPreference',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -229,6 +236,7 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
           'entity' => 'StatusPreference',
           'bao' => 'CRM_Core_BAO_StatusPreference',
           'localizable' => 0,
+          'add' => '5.19',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/SystemLog.php b/civicrm/CRM/Core/DAO/SystemLog.php
index 17f4c25652..7c25001270 100644
--- a/civicrm/CRM/Core/DAO/SystemLog.php
+++ b/civicrm/CRM/Core/DAO/SystemLog.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/SystemLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:53db5a26709c3b0d4cad8e38b28aef18)
+ * (GenCodeChecksum:98f05402f423c989a4a88b3c2fe88587)
  */
 
 /**
@@ -104,6 +104,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'entity' => 'SystemLog',
           'bao' => 'CRM_Core_DAO_SystemLog',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'message' => [
           'name' => 'message',
@@ -118,6 +119,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'entity' => 'SystemLog',
           'bao' => 'CRM_Core_DAO_SystemLog',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'context' => [
           'name' => 'context',
@@ -129,6 +131,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'entity' => 'SystemLog',
           'bao' => 'CRM_Core_DAO_SystemLog',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'level' => [
           'name' => 'level',
@@ -143,6 +146,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'entity' => 'SystemLog',
           'bao' => 'CRM_Core_DAO_SystemLog',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'timestamp' => [
           'name' => 'timestamp',
@@ -155,6 +159,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'entity' => 'SystemLog',
           'bao' => 'CRM_Core_DAO_SystemLog',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -166,6 +171,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'entity' => 'SystemLog',
           'bao' => 'CRM_Core_DAO_SystemLog',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'hostname' => [
           'name' => 'hostname',
@@ -179,6 +185,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'entity' => 'SystemLog',
           'bao' => 'CRM_Core_DAO_SystemLog',
           'localizable' => 0,
+          'add' => '4.5',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Tag.php b/civicrm/CRM/Core/DAO/Tag.php
index 397ebf2a4a..211a01ff90 100644
--- a/civicrm/CRM/Core/DAO/Tag.php
+++ b/civicrm/CRM/Core/DAO/Tag.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Tag.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:18f8021635fed59be1eabc246f6b88cb)
+ * (GenCodeChecksum:ae90b4442c990e4b733019e746552883)
  */
 
 /**
@@ -142,6 +142,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
           'entity' => 'Tag',
           'bao' => 'CRM_Core_BAO_Tag',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'name' => [
           'name' => 'name',
@@ -156,6 +157,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
           'entity' => 'Tag',
           'bao' => 'CRM_Core_BAO_Tag',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'description' => [
           'name' => 'description',
@@ -169,6 +171,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
           'entity' => 'Tag',
           'bao' => 'CRM_Core_BAO_Tag',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'parent_id' => [
           'name' => 'parent_id',
@@ -187,6 +190,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '1.1',
         ],
         'is_selectable' => [
           'name' => 'is_selectable',
@@ -199,6 +203,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
           'entity' => 'Tag',
           'bao' => 'CRM_Core_BAO_Tag',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -210,6 +215,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
           'entity' => 'Tag',
           'bao' => 'CRM_Core_BAO_Tag',
           'localizable' => 0,
+          'add' => '3.2',
         ],
         'is_tagset' => [
           'name' => 'is_tagset',
@@ -221,6 +227,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
           'entity' => 'Tag',
           'bao' => 'CRM_Core_BAO_Tag',
           'localizable' => 0,
+          'add' => '3.2',
         ],
         'used_for' => [
           'name' => 'used_for',
@@ -242,6 +249,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
             'optionGroupName' => 'tag_used_for',
             'optionEditPath' => 'civicrm/admin/options/tag_used_for',
           ],
+          'add' => '3.2',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -254,6 +262,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Tag',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.4',
         ],
         'color' => [
           'name' => 'color',
@@ -268,6 +277,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
           'entity' => 'Tag',
           'bao' => 'CRM_Core_BAO_Tag',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -279,6 +289,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
           'entity' => 'Tag',
           'bao' => 'CRM_Core_BAO_Tag',
           'localizable' => 0,
+          'add' => '3.4',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Timezone.php b/civicrm/CRM/Core/DAO/Timezone.php
index 0c5979ad40..455a65e00d 100644
--- a/civicrm/CRM/Core/DAO/Timezone.php
+++ b/civicrm/CRM/Core/DAO/Timezone.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Timezone.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a48a49afa56a0c510fb1c05a41a62435)
+ * (GenCodeChecksum:82bfb9769480994e7f53f7c541991255)
  */
 
 /**
@@ -110,6 +110,7 @@ class CRM_Core_DAO_Timezone extends CRM_Core_DAO {
           'entity' => 'Timezone',
           'bao' => 'CRM_Core_DAO_Timezone',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'name' => [
           'name' => 'name',
@@ -123,6 +124,7 @@ class CRM_Core_DAO_Timezone extends CRM_Core_DAO {
           'entity' => 'Timezone',
           'bao' => 'CRM_Core_DAO_Timezone',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'abbreviation' => [
           'name' => 'abbreviation',
@@ -136,6 +138,7 @@ class CRM_Core_DAO_Timezone extends CRM_Core_DAO {
           'entity' => 'Timezone',
           'bao' => 'CRM_Core_DAO_Timezone',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'gmt' => [
           'name' => 'gmt',
@@ -149,6 +152,7 @@ class CRM_Core_DAO_Timezone extends CRM_Core_DAO {
           'entity' => 'Timezone',
           'bao' => 'CRM_Core_DAO_Timezone',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'offset' => [
           'name' => 'offset',
@@ -159,6 +163,7 @@ class CRM_Core_DAO_Timezone extends CRM_Core_DAO {
           'entity' => 'Timezone',
           'bao' => 'CRM_Core_DAO_Timezone',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'country_id' => [
           'name' => 'country_id',
@@ -172,6 +177,7 @@ class CRM_Core_DAO_Timezone extends CRM_Core_DAO {
           'bao' => 'CRM_Core_DAO_Timezone',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Country',
+          'add' => '1.8',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/UFField.php b/civicrm/CRM/Core/DAO/UFField.php
index 2d788af933..f39edade95 100644
--- a/civicrm/CRM/Core/DAO/UFField.php
+++ b/civicrm/CRM/Core/DAO/UFField.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e0ae6fe5adeee3c32d64c87272d090b6)
+ * (GenCodeChecksum:19a472b9a17638d6a99e246d0bc1320b)
  */
 
 /**
@@ -204,6 +204,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'uf_group_id' => [
           'name' => 'uf_group_id',
@@ -225,6 +226,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '1.1',
         ],
         'field_name' => [
           'name' => 'field_name',
@@ -242,6 +244,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_BAO_UFField::getAvailableFieldTitles',
           ],
+          'add' => '1.1',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -254,6 +257,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'is_view' => [
           'name' => 'is_view',
@@ -266,6 +270,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'is_required' => [
           'name' => 'is_required',
@@ -278,6 +283,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'weight' => [
           'name' => 'weight',
@@ -291,6 +297,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'help_post' => [
           'name' => 'help_post',
@@ -302,6 +309,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 1,
+          'add' => '1.1',
         ],
         'help_pre' => [
           'name' => 'help_pre',
@@ -313,6 +321,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 1,
+          'add' => '3.2',
         ],
         'visibility' => [
           'name' => 'visibility',
@@ -333,6 +342,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::ufVisibility',
           ],
+          'add' => '1.1',
         ],
         'in_selector' => [
           'name' => 'in_selector',
@@ -345,6 +355,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 0,
+          'add' => '1.2',
         ],
         'is_searchable' => [
           'name' => 'is_searchable',
@@ -357,6 +368,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'location_type_id' => [
           'name' => 'location_type_id',
@@ -369,6 +381,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_LocationType',
+          'add' => '1.3',
         ],
         'phone_type_id' => [
           'name' => 'phone_type_id',
@@ -384,6 +397,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
             'optionGroupName' => 'phone_type',
             'optionEditPath' => 'civicrm/admin/options/phone_type',
           ],
+          'add' => '2.2',
         ],
         'website_type_id' => [
           'name' => 'website_type_id',
@@ -399,6 +413,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
             'optionGroupName' => 'website_type',
             'optionEditPath' => 'civicrm/admin/options/website_type',
           ],
+          'add' => '4.5',
         ],
         'label' => [
           'name' => 'label',
@@ -413,6 +428,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 1,
+          'add' => '1.4',
         ],
         'field_type' => [
           'name' => 'field_type',
@@ -426,6 +442,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -437,6 +454,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'is_multi_summary' => [
           'name' => 'is_multi_summary',
@@ -449,6 +467,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
           'localizable' => 0,
+          'add' => '4.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/UFGroup.php b/civicrm/CRM/Core/DAO/UFGroup.php
index dca75ebaf8..0dcd9ce8aa 100644
--- a/civicrm/CRM/Core/DAO/UFGroup.php
+++ b/civicrm/CRM/Core/DAO/UFGroup.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:17f8c18034495ef7294802e4597b06f3)
+ * (GenCodeChecksum:2c0010333dd51aa45bc853630fcddaa6)
  */
 
 /**
@@ -259,6 +259,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -271,6 +272,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'group_type' => [
           'name' => 'group_type',
@@ -287,6 +289,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_COMMA,
+          'add' => '2.1',
         ],
         'title' => [
           'name' => 'title',
@@ -304,6 +307,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.1',
         ],
         'frontend_title' => [
           'name' => 'frontend_title',
@@ -320,6 +324,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.7',
         ],
         'description' => [
           'name' => 'description',
@@ -336,6 +341,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '4.4',
         ],
         'help_pre' => [
           'name' => 'help_pre',
@@ -352,6 +358,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.2',
         ],
         'help_post' => [
           'name' => 'help_post',
@@ -368,6 +375,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.2',
         ],
         'limit_listings_group_id' => [
           'name' => 'limit_listings_group_id',
@@ -380,6 +388,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Group',
+          'add' => '1.4',
         ],
         'post_URL' => [
           'name' => 'post_URL',
@@ -393,6 +402,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'add_to_group_id' => [
           'name' => 'add_to_group_id',
@@ -405,6 +415,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Group',
+          'add' => NULL,
         ],
         'add_captcha' => [
           'name' => 'add_captcha',
@@ -417,6 +428,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'is_map' => [
           'name' => 'is_map',
@@ -429,6 +441,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'is_edit_link' => [
           'name' => 'is_edit_link',
@@ -441,6 +454,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '1.6',
         ],
         'is_uf_link' => [
           'name' => 'is_uf_link',
@@ -453,6 +467,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'is_update_dupe' => [
           'name' => 'is_update_dupe',
@@ -465,6 +480,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'cancel_URL' => [
           'name' => 'cancel_URL',
@@ -478,6 +494,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '1.4',
         ],
         'is_cms_user' => [
           'name' => 'is_cms_user',
@@ -490,6 +507,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'notify' => [
           'name' => 'notify',
@@ -500,6 +518,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -511,6 +530,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'name' => [
           'name' => 'name',
@@ -524,6 +544,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -536,6 +557,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.0',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -547,6 +569,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'is_proximity_search' => [
           'name' => 'is_proximity_search',
@@ -559,6 +582,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '3.2',
         ],
         'cancel_button_text' => [
           'name' => 'cancel_button_text',
@@ -576,6 +600,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.7',
         ],
         'submit_button_text' => [
           'name' => 'submit_button_text',
@@ -593,6 +618,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.7',
         ],
         'add_cancel_button' => [
           'name' => 'add_cancel_button',
@@ -605,6 +631,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
           'localizable' => 0,
+          'add' => '5.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/UFJoin.php b/civicrm/CRM/Core/DAO/UFJoin.php
index a9e201e3b5..40436e3a0b 100644
--- a/civicrm/CRM/Core/DAO/UFJoin.php
+++ b/civicrm/CRM/Core/DAO/UFJoin.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFJoin.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d8e9800524a344006c80c158e722f6cd)
+ * (GenCodeChecksum:2c6085ccffdaef5d2b63f746f3582fef)
  */
 
 /**
@@ -127,6 +127,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO {
           'entity' => 'UFJoin',
           'bao' => 'CRM_Core_BAO_UFJoin',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -139,6 +140,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO {
           'entity' => 'UFJoin',
           'bao' => 'CRM_Core_BAO_UFJoin',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'module' => [
           'name' => 'module',
@@ -153,6 +155,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO {
           'entity' => 'UFJoin',
           'bao' => 'CRM_Core_BAO_UFJoin',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -169,6 +172,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_BAO_UFJoin::entityTables',
           ],
+          'add' => '1.3',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -180,6 +184,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO {
           'entity' => 'UFJoin',
           'bao' => 'CRM_Core_BAO_UFJoin',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'weight' => [
           'name' => 'weight',
@@ -193,6 +198,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO {
           'entity' => 'UFJoin',
           'bao' => 'CRM_Core_BAO_UFJoin',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'uf_group_id' => [
           'name' => 'uf_group_id',
@@ -214,6 +220,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '1.3',
         ],
         'module_data' => [
           'name' => 'module_data',
@@ -226,6 +233,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_UFJoin',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_JSON,
+          'add' => '4.5',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/UFMatch.php b/civicrm/CRM/Core/DAO/UFMatch.php
index e2a2171e44..5d3b151aa9 100644
--- a/civicrm/CRM/Core/DAO/UFMatch.php
+++ b/civicrm/CRM/Core/DAO/UFMatch.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFMatch.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d732d7f3bfb8cec86d292b888e12a93c)
+ * (GenCodeChecksum:19056381575dfbe0a0c61a8faf9a4884)
  */
 
 /**
@@ -113,6 +113,7 @@ class CRM_Core_DAO_UFMatch extends CRM_Core_DAO {
           'entity' => 'UFMatch',
           'bao' => 'CRM_Core_BAO_UFMatch',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -131,6 +132,7 @@ class CRM_Core_DAO_UFMatch extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.0',
         ],
         'uf_id' => [
           'name' => 'uf_id',
@@ -143,6 +145,7 @@ class CRM_Core_DAO_UFMatch extends CRM_Core_DAO {
           'entity' => 'UFMatch',
           'bao' => 'CRM_Core_BAO_UFMatch',
           'localizable' => 0,
+          'add' => '1.1',
         ],
         'uf_name' => [
           'name' => 'uf_name',
@@ -156,6 +159,7 @@ class CRM_Core_DAO_UFMatch extends CRM_Core_DAO {
           'entity' => 'UFMatch',
           'bao' => 'CRM_Core_BAO_UFMatch',
           'localizable' => 0,
+          'add' => '1.9.kabissa',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -168,6 +172,7 @@ class CRM_Core_DAO_UFMatch extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_UFMatch',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '1.1',
         ],
         'language' => [
           'name' => 'language',
@@ -181,6 +186,7 @@ class CRM_Core_DAO_UFMatch extends CRM_Core_DAO {
           'entity' => 'UFMatch',
           'bao' => 'CRM_Core_BAO_UFMatch',
           'localizable' => 0,
+          'add' => '2.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Website.php b/civicrm/CRM/Core/DAO/Website.php
index 126d768c94..5fbb5e84ce 100644
--- a/civicrm/CRM/Core/DAO/Website.php
+++ b/civicrm/CRM/Core/DAO/Website.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Website.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b71c21e94fb523fd92a2579cb36ccc9b)
+ * (GenCodeChecksum:867013ce89e667806aea8499c9ed0a1a)
  */
 
 /**
@@ -98,6 +98,7 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO {
           'entity' => 'Website',
           'bao' => 'CRM_Core_BAO_Website',
           'localizable' => 0,
+          'add' => '3.2',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -110,6 +111,7 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Website',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.2',
         ],
         'url' => [
           'name' => 'url',
@@ -130,6 +132,7 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.2',
         ],
         'website_type_id' => [
           'name' => 'website_type_id',
@@ -148,6 +151,7 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO {
             'optionGroupName' => 'website_type',
             'optionEditPath' => 'civicrm/admin/options/website_type',
           ],
+          'add' => '3.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/WordReplacement.php b/civicrm/CRM/Core/DAO/WordReplacement.php
index 078dbc9fd7..fb6e7cada5 100644
--- a/civicrm/CRM/Core/DAO/WordReplacement.php
+++ b/civicrm/CRM/Core/DAO/WordReplacement.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/WordReplacement.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0e956a44911169933aabb2bfdc266e32)
+ * (GenCodeChecksum:8d1efd20e3ffe9dadf80fae396132f93)
  */
 
 /**
@@ -110,6 +110,7 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO {
           'entity' => 'WordReplacement',
           'bao' => 'CRM_Core_BAO_WordReplacement',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'find_word' => [
           'name' => 'find_word',
@@ -123,6 +124,7 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO {
           'entity' => 'WordReplacement',
           'bao' => 'CRM_Core_BAO_WordReplacement',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'replace_word' => [
           'name' => 'replace_word',
@@ -136,6 +138,7 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO {
           'entity' => 'WordReplacement',
           'bao' => 'CRM_Core_BAO_WordReplacement',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -148,6 +151,7 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO {
           'entity' => 'WordReplacement',
           'bao' => 'CRM_Core_BAO_WordReplacement',
           'localizable' => 0,
+          'add' => '4.4',
         ],
         'match_type' => [
           'name' => 'match_type',
@@ -167,6 +171,7 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getWordReplacementMatchType',
           ],
+          'add' => '4.4',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -184,6 +189,7 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '1.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Core/DAO/Worldregion.php b/civicrm/CRM/Core/DAO/Worldregion.php
index d1bc1f586d..1479a7e29a 100644
--- a/civicrm/CRM/Core/DAO/Worldregion.php
+++ b/civicrm/CRM/Core/DAO/Worldregion.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Worldregion.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ec8ef1b1bc0640dbc48b47a34ea197ed)
+ * (GenCodeChecksum:5bd5fc71a6f1fb9e673b66ad6439d2a6)
  */
 
 /**
@@ -69,6 +69,7 @@ class CRM_Core_DAO_Worldregion extends CRM_Core_DAO {
           'entity' => 'Worldregion',
           'bao' => 'CRM_Core_DAO_Worldregion',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'world_region' => [
           'name' => 'name',
@@ -83,6 +84,7 @@ class CRM_Core_DAO_Worldregion extends CRM_Core_DAO {
           'entity' => 'Worldregion',
           'bao' => 'CRM_Core_DAO_Worldregion',
           'localizable' => 0,
+          'add' => '1.8',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Cxn/DAO/Cxn.php b/civicrm/CRM/Cxn/DAO/Cxn.php
index 2565343336..564961788f 100644
--- a/civicrm/CRM/Cxn/DAO/Cxn.php
+++ b/civicrm/CRM/Cxn/DAO/Cxn.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Cxn/Cxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dbdc69652244ce9a681d85cd39ab2ba8)
+ * (GenCodeChecksum:4a6988bcfcf1160fb982b75c4300aa9e)
  */
 
 /**
@@ -132,6 +132,7 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO {
           'entity' => 'Cxn',
           'bao' => 'CRM_Cxn_BAO_Cxn',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'app_guid' => [
           'name' => 'app_guid',
@@ -145,6 +146,7 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO {
           'entity' => 'Cxn',
           'bao' => 'CRM_Cxn_BAO_Cxn',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'app_meta' => [
           'name' => 'app_meta',
@@ -156,6 +158,7 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO {
           'entity' => 'Cxn',
           'bao' => 'CRM_Cxn_BAO_Cxn',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'cxn_guid' => [
           'name' => 'cxn_guid',
@@ -169,6 +172,7 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO {
           'entity' => 'Cxn',
           'bao' => 'CRM_Cxn_BAO_Cxn',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'secret' => [
           'name' => 'secret',
@@ -180,6 +184,7 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO {
           'entity' => 'Cxn',
           'bao' => 'CRM_Cxn_BAO_Cxn',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'perm' => [
           'name' => 'perm',
@@ -191,6 +196,7 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO {
           'entity' => 'Cxn',
           'bao' => 'CRM_Cxn_BAO_Cxn',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'options' => [
           'name' => 'options',
@@ -203,6 +209,7 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO {
           'bao' => 'CRM_Cxn_BAO_Cxn',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_JSON,
+          'add' => '4.6',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -215,6 +222,7 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO {
           'entity' => 'Cxn',
           'bao' => 'CRM_Cxn_BAO_Cxn',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -228,6 +236,7 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO {
           'entity' => 'Cxn',
           'bao' => 'CRM_Cxn_BAO_Cxn',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'modified_date' => [
           'name' => 'modified_date',
@@ -241,6 +250,7 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO {
           'entity' => 'Cxn',
           'bao' => 'CRM_Cxn_BAO_Cxn',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'fetched_date' => [
           'name' => 'fetched_date',
@@ -254,6 +264,7 @@ class CRM_Cxn_DAO_Cxn extends CRM_Core_DAO {
           'entity' => 'Cxn',
           'bao' => 'CRM_Cxn_BAO_Cxn',
           'localizable' => 0,
+          'add' => '4.6',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Dedupe/DAO/Exception.php b/civicrm/CRM/Dedupe/DAO/Exception.php
index 7c10c69603..58fe561aa6 100644
--- a/civicrm/CRM/Dedupe/DAO/Exception.php
+++ b/civicrm/CRM/Dedupe/DAO/Exception.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/Exception.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bc7e5282c75e16acace7b9d8555f6ef7)
+ * (GenCodeChecksum:10afa1aad75e26f85d255ed18d96f832)
  */
 
 /**
@@ -92,6 +92,7 @@ class CRM_Dedupe_DAO_Exception extends CRM_Core_DAO {
           'entity' => 'Exception',
           'bao' => 'CRM_Dedupe_BAO_Exception',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'contact_id1' => [
           'name' => 'contact_id1',
@@ -105,6 +106,7 @@ class CRM_Dedupe_DAO_Exception extends CRM_Core_DAO {
           'bao' => 'CRM_Dedupe_BAO_Exception',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.3',
         ],
         'contact_id2' => [
           'name' => 'contact_id2',
@@ -118,6 +120,7 @@ class CRM_Dedupe_DAO_Exception extends CRM_Core_DAO {
           'bao' => 'CRM_Dedupe_BAO_Exception',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Dedupe/DAO/Rule.php b/civicrm/CRM/Dedupe/DAO/Rule.php
index 90b39affc7..c9094cf6c4 100644
--- a/civicrm/CRM/Dedupe/DAO/Rule.php
+++ b/civicrm/CRM/Dedupe/DAO/Rule.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/Rule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9d3a0a3213757c341f051bf258b5c67f)
+ * (GenCodeChecksum:b3f2e306b0b0f057c03e2c4bb2706f4a)
  */
 
 /**
@@ -112,6 +112,7 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
           'entity' => 'Rule',
           'bao' => 'CRM_Dedupe_BAO_Rule',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'dedupe_rule_group_id' => [
           'name' => 'dedupe_rule_group_id',
@@ -125,6 +126,7 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
           'bao' => 'CRM_Dedupe_BAO_Rule',
           'localizable' => 0,
           'FKClassName' => 'CRM_Dedupe_DAO_RuleGroup',
+          'add' => '1.8',
         ],
         'rule_table' => [
           'name' => 'rule_table',
@@ -139,6 +141,7 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
           'entity' => 'Rule',
           'bao' => 'CRM_Dedupe_BAO_Rule',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'rule_field' => [
           'name' => 'rule_field',
@@ -153,6 +156,7 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
           'entity' => 'Rule',
           'bao' => 'CRM_Dedupe_BAO_Rule',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'rule_length' => [
           'name' => 'rule_length',
@@ -167,6 +171,7 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'rule_weight' => [
           'name' => 'rule_weight',
@@ -182,6 +187,7 @@ class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Dedupe/DAO/RuleGroup.php b/civicrm/CRM/Dedupe/DAO/RuleGroup.php
index fbf8ceae8a..8e052bcfa5 100644
--- a/civicrm/CRM/Dedupe/DAO/RuleGroup.php
+++ b/civicrm/CRM/Dedupe/DAO/RuleGroup.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/RuleGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:16caaddab6049c5559c418b140d03fa8)
+ * (GenCodeChecksum:bbe4b527311a3ecf35d86a81f7b57bac)
  */
 
 /**
@@ -104,6 +104,7 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO {
           'entity' => 'RuleGroup',
           'bao' => 'CRM_Dedupe_BAO_RuleGroup',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'contact_type' => [
           'name' => 'contact_type',
@@ -126,6 +127,7 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO {
             'labelColumn' => 'label',
             'condition' => 'parent_id IS NULL',
           ],
+          'add' => '1.8',
         ],
         'threshold' => [
           'name' => 'threshold',
@@ -141,6 +143,7 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'used' => [
           'name' => 'used',
@@ -161,6 +164,7 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getDedupeRuleTypes',
           ],
+          'add' => '4.3',
         ],
         'name' => [
           'name' => 'name',
@@ -174,6 +178,7 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO {
           'entity' => 'RuleGroup',
           'bao' => 'CRM_Dedupe_BAO_RuleGroup',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'title' => [
           'name' => 'title',
@@ -190,6 +195,7 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.1',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -204,6 +210,7 @@ class CRM_Dedupe_DAO_RuleGroup extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Event/Cart/DAO/Cart.php b/civicrm/CRM/Event/Cart/DAO/Cart.php
index 23b95293ac..3e8f6e9219 100644
--- a/civicrm/CRM/Event/Cart/DAO/Cart.php
+++ b/civicrm/CRM/Event/Cart/DAO/Cart.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Cart/Cart.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:57220a9c79c8b801d23ed0c31cb18a63)
+ * (GenCodeChecksum:c376a287f7b84fd652ab0dd532e3b0b9)
  */
 
 /**
@@ -89,6 +89,7 @@ class CRM_Event_Cart_DAO_Cart extends CRM_Core_DAO {
           'entity' => 'Cart',
           'bao' => 'CRM_Event_Cart_BAO_Cart',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'user_id' => [
           'name' => 'user_id',
@@ -101,6 +102,7 @@ class CRM_Event_Cart_DAO_Cart extends CRM_Core_DAO {
           'bao' => 'CRM_Event_Cart_BAO_Cart',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.1',
         ],
         'completed' => [
           'name' => 'completed',
@@ -112,6 +114,7 @@ class CRM_Event_Cart_DAO_Cart extends CRM_Core_DAO {
           'entity' => 'Cart',
           'bao' => 'CRM_Event_Cart_BAO_Cart',
           'localizable' => 0,
+          'add' => '4.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Event/Cart/DAO/EventInCart.php b/civicrm/CRM/Event/Cart/DAO/EventInCart.php
index 8afcdcbdf8..830f19ae8b 100644
--- a/civicrm/CRM/Event/Cart/DAO/EventInCart.php
+++ b/civicrm/CRM/Event/Cart/DAO/EventInCart.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Cart/EventInCart.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a3cddf6fa66ed1294fb6a2736449ac3f)
+ * (GenCodeChecksum:154f4fcbd5c1b493a70714ca368b29bb)
  */
 
 /**
@@ -92,6 +92,7 @@ class CRM_Event_Cart_DAO_EventInCart extends CRM_Core_DAO {
           'entity' => 'EventInCart',
           'bao' => 'CRM_Event_Cart_BAO_EventInCart',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'event_id' => [
           'name' => 'event_id',
@@ -104,6 +105,7 @@ class CRM_Event_Cart_DAO_EventInCart extends CRM_Core_DAO {
           'bao' => 'CRM_Event_Cart_BAO_EventInCart',
           'localizable' => 0,
           'FKClassName' => 'CRM_Event_DAO_Event',
+          'add' => '4.1',
         ],
         'event_cart_id' => [
           'name' => 'event_cart_id',
@@ -116,6 +118,7 @@ class CRM_Event_Cart_DAO_EventInCart extends CRM_Core_DAO {
           'bao' => 'CRM_Event_Cart_BAO_EventInCart',
           'localizable' => 0,
           'FKClassName' => 'CRM_Event_Cart_DAO_Cart',
+          'add' => '4.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Event/DAO/Event.php b/civicrm/CRM/Event/DAO/Event.php
index 53ce1f60c4..93367f1b99 100644
--- a/civicrm/CRM/Event/DAO/Event.php
+++ b/civicrm/CRM/Event/DAO/Event.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Event.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:700e3666bce40a962c06c970790fb599)
+ * (GenCodeChecksum:1ada5c2159a76a51000df057a7681463)
  */
 
 /**
@@ -554,6 +554,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'entity' => 'Event',
           'bao' => 'CRM_Event_BAO_Event',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'event_title' => [
           'name' => 'title',
@@ -573,6 +574,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'summary' => [
           'name' => 'summary',
@@ -589,6 +591,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.7',
         ],
         'event_description' => [
           'name' => 'description',
@@ -605,6 +608,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '1.7',
         ],
         'event_type_id' => [
           'name' => 'event_type_id',
@@ -624,6 +628,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
             'optionGroupName' => 'event_type',
             'optionEditPath' => 'civicrm/admin/options/event_type',
           ],
+          'add' => '1.7',
         ],
         'participant_listing_id' => [
           'name' => 'participant_listing_id',
@@ -643,6 +648,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
             'optionGroupName' => 'participant_listing',
             'optionEditPath' => 'civicrm/admin/options/participant_listing',
           ],
+          'add' => '2.0',
         ],
         'is_public' => [
           'name' => 'is_public',
@@ -658,6 +664,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.7',
         ],
         'event_start_date' => [
           'name' => 'start_date',
@@ -676,6 +683,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.7',
         ],
         'event_end_date' => [
           'name' => 'end_date',
@@ -694,6 +702,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.7',
         ],
         'is_online_registration' => [
           'name' => 'is_online_registration',
@@ -709,6 +718,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.7',
         ],
         'registration_link_text' => [
           'name' => 'registration_link_text',
@@ -725,6 +735,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'registration_start_date' => [
           'name' => 'registration_start_date',
@@ -740,6 +751,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.8',
         ],
         'registration_end_date' => [
           'name' => 'registration_end_date',
@@ -755,6 +767,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.8',
         ],
         'max_participants' => [
           'name' => 'max_participants',
@@ -770,6 +783,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'event_full_text' => [
           'name' => 'event_full_text',
@@ -786,6 +800,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.7',
         ],
         'is_monetary' => [
           'name' => 'is_monetary',
@@ -801,6 +816,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.7',
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -821,6 +837,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'payment_processor' => [
           'name' => 'payment_processor',
@@ -842,6 +859,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '1.8',
         ],
         'is_map' => [
           'name' => 'is_map',
@@ -857,6 +875,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.7',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -872,6 +891,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.7',
         ],
         'fee_label' => [
           'name' => 'fee_label',
@@ -890,6 +910,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'is_show_location' => [
           'name' => 'is_show_location',
@@ -905,6 +926,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.7',
         ],
         'loc_block_id' => [
           'name' => 'loc_block_id',
@@ -917,6 +939,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_Event',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_LocBlock',
+          'add' => '2.0',
         ],
         'default_role_id' => [
           'name' => 'default_role_id',
@@ -938,6 +961,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
             'optionGroupName' => 'participant_role',
             'optionEditPath' => 'civicrm/admin/options/participant_role',
           ],
+          'add' => '2.0',
         ],
         'intro_text' => [
           'name' => 'intro_text',
@@ -954,6 +978,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '1.7',
         ],
         'footer_text' => [
           'name' => 'footer_text',
@@ -970,6 +995,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '1.7',
         ],
         'confirm_title' => [
           'name' => 'confirm_title',
@@ -987,6 +1013,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'confirm_text' => [
           'name' => 'confirm_text',
@@ -1003,6 +1030,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '1.7',
         ],
         'confirm_footer_text' => [
           'name' => 'confirm_footer_text',
@@ -1019,6 +1047,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '1.7',
         ],
         'is_email_confirm' => [
           'name' => 'is_email_confirm',
@@ -1034,6 +1063,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.7',
         ],
         'confirm_email_text' => [
           'name' => 'confirm_email_text',
@@ -1050,6 +1080,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.7',
         ],
         'confirm_from_name' => [
           'name' => 'confirm_from_name',
@@ -1066,6 +1097,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'confirm_from_email' => [
           'name' => 'confirm_from_email',
@@ -1082,6 +1114,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'cc_confirm' => [
           'name' => 'cc_confirm',
@@ -1098,6 +1131,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'bcc_confirm' => [
           'name' => 'bcc_confirm',
@@ -1114,6 +1148,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'default_fee_id' => [
           'name' => 'default_fee_id',
@@ -1125,6 +1160,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'entity' => 'Event',
           'bao' => 'CRM_Event_BAO_Event',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'default_discount_fee_id' => [
           'name' => 'default_discount_fee_id',
@@ -1136,6 +1172,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'entity' => 'Event',
           'bao' => 'CRM_Event_BAO_Event',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'thankyou_title' => [
           'name' => 'thankyou_title',
@@ -1153,6 +1190,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'thankyou_text' => [
           'name' => 'thankyou_text',
@@ -1169,6 +1207,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '1.7',
         ],
         'thankyou_footer_text' => [
           'name' => 'thankyou_footer_text',
@@ -1185,6 +1224,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '1.7',
         ],
         'is_pay_later' => [
           'name' => 'is_pay_later',
@@ -1200,6 +1240,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.0',
         ],
         'pay_later_text' => [
           'name' => 'pay_later_text',
@@ -1214,6 +1255,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'RichTextEditor',
           ],
+          'add' => '2.0',
         ],
         'pay_later_receipt' => [
           'name' => 'pay_later_receipt',
@@ -1228,6 +1270,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.0',
         ],
         'is_partial_payment' => [
           'name' => 'is_partial_payment',
@@ -1243,6 +1286,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.3',
         ],
         'initial_amount_label' => [
           'name' => 'initial_amount_label',
@@ -1259,6 +1303,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.3',
         ],
         'initial_amount_help_text' => [
           'name' => 'initial_amount_help_text',
@@ -1273,6 +1318,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.3',
         ],
         'min_initial_amount' => [
           'name' => 'min_initial_amount',
@@ -1291,6 +1337,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.3',
         ],
         'is_multiple_registrations' => [
           'name' => 'is_multiple_registrations',
@@ -1306,6 +1353,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.1',
         ],
         'max_additional_participants' => [
           'name' => 'max_additional_participants',
@@ -1318,6 +1366,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'entity' => 'Event',
           'bao' => 'CRM_Event_BAO_Event',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'allow_same_participant_emails' => [
           'name' => 'allow_same_participant_emails',
@@ -1333,6 +1382,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.2',
         ],
         'has_waitlist' => [
           'name' => 'has_waitlist',
@@ -1347,6 +1397,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '3.0',
         ],
         'requires_approval' => [
           'name' => 'requires_approval',
@@ -1361,6 +1412,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '3.0',
         ],
         'expiration_time' => [
           'name' => 'expiration_time',
@@ -1375,6 +1427,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.0',
         ],
         'allow_selfcancelxfer' => [
           'name' => 'allow_selfcancelxfer',
@@ -1390,6 +1443,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.7',
         ],
         'selfcancelxfer_time' => [
           'name' => 'selfcancelxfer_time',
@@ -1405,6 +1459,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.7',
         ],
         'waitlist_text' => [
           'name' => 'waitlist_text',
@@ -1421,6 +1476,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '3.0',
         ],
         'approval_req_text' => [
           'name' => 'approval_req_text',
@@ -1437,6 +1493,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '3.0',
         ],
         'is_template' => [
           'name' => 'is_template',
@@ -1453,6 +1510,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '3.0',
         ],
         'template_title' => [
           'name' => 'template_title',
@@ -1472,6 +1530,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.0',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -1484,6 +1543,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_Event',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '3.0',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -1495,6 +1555,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'entity' => 'Event',
           'bao' => 'CRM_Event_BAO_Event',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'currency' => [
           'name' => 'currency',
@@ -1522,6 +1583,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '3.3',
         ],
         'campaign_id' => [
           'name' => 'campaign_id',
@@ -1542,6 +1604,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '3.4',
         ],
         'is_share' => [
           'name' => 'is_share',
@@ -1557,6 +1620,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.1',
         ],
         'is_confirm_enabled' => [
           'name' => 'is_confirm_enabled',
@@ -1572,6 +1636,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.5',
         ],
         'parent_event_id' => [
           'name' => 'parent_event_id',
@@ -1587,6 +1652,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '4.1',
         ],
         'slot_label_id' => [
           'name' => 'slot_label_id',
@@ -1602,6 +1668,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '4.1',
         ],
         'dedupe_rule_group_id' => [
           'name' => 'dedupe_rule_group_id',
@@ -1624,6 +1691,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
             'labelColumn' => 'title',
             'nameColumn' => 'name',
           ],
+          'add' => '4.5',
         ],
         'is_billing_required' => [
           'name' => 'is_billing_required',
@@ -1639,6 +1707,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.6',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Event/DAO/Participant.php b/civicrm/CRM/Event/DAO/Participant.php
index 2bf5d85243..1ac839f0d6 100644
--- a/civicrm/CRM/Event/DAO/Participant.php
+++ b/civicrm/CRM/Event/DAO/Participant.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Participant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bc3da50711791a21ca2aff845977efbb)
+ * (GenCodeChecksum:aca8a5dd32ef1840a8d769d07db132bf)
  */
 
 /**
@@ -210,6 +210,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'participant_contact_id' => [
           'name' => 'contact_id',
@@ -226,6 +227,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '1.7',
         ],
         'event_id' => [
           'name' => 'event_id',
@@ -242,6 +244,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
           'FKClassName' => 'CRM_Event_DAO_Event',
+          'add' => '1.7',
         ],
         'participant_status_id' => [
           'name' => 'status_id',
@@ -267,6 +270,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'label',
           ],
+          'add' => '1.7',
         ],
         'participant_role_id' => [
           'name' => 'role_id',
@@ -292,6 +296,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
             'optionGroupName' => 'participant_role',
             'optionEditPath' => 'civicrm/admin/options/participant_role',
           ],
+          'add' => '1.7',
         ],
         'participant_register_date' => [
           'name' => 'register_date',
@@ -310,6 +315,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.7',
         ],
         'participant_source' => [
           'name' => 'source',
@@ -329,6 +335,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'participant_fee_level' => [
           'name' => 'fee_level',
@@ -345,6 +352,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_SEPARATOR_BOOKEND,
+          'add' => '1.7',
         ],
         'participant_is_test' => [
           'name' => 'is_test',
@@ -358,6 +366,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'participant_is_pay_later' => [
           'name' => 'is_pay_later',
@@ -372,6 +381,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'participant_fee_amount' => [
           'name' => 'fee_amount',
@@ -391,6 +401,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'participant_registered_by_id' => [
           'name' => 'registered_by_id',
@@ -406,6 +417,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
           'FKClassName' => 'CRM_Event_DAO_Participant',
+          'add' => '2.1',
         ],
         'participant_discount_id' => [
           'name' => 'discount_id',
@@ -419,6 +431,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Discount',
+          'add' => '2.1',
         ],
         'participant_fee_currency' => [
           'name' => 'fee_currency',
@@ -447,6 +460,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '3.0',
         ],
         'participant_campaign_id' => [
           'name' => 'campaign_id',
@@ -466,6 +480,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '3.4',
         ],
         'discount_amount' => [
           'name' => 'discount_amount',
@@ -477,6 +492,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'cart_id' => [
           'name' => 'cart_id',
@@ -489,6 +505,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
           'FKClassName' => 'CRM_Event_Cart_DAO_Cart',
+          'add' => '4.1',
         ],
         'must_wait' => [
           'name' => 'must_wait',
@@ -500,6 +517,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'entity' => 'Participant',
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'transferred_to_contact_id' => [
           'name' => 'transferred_to_contact_id',
@@ -516,6 +534,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_Participant',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Event/DAO/ParticipantPayment.php b/civicrm/CRM/Event/DAO/ParticipantPayment.php
index 9b7c5a4867..685267bcea 100644
--- a/civicrm/CRM/Event/DAO/ParticipantPayment.php
+++ b/civicrm/CRM/Event/DAO/ParticipantPayment.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/ParticipantPayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2bf1d538625b84200c82b914ea043e90)
+ * (GenCodeChecksum:ca74c89a73731c99cdb1aedb8b9c7f92)
  */
 
 /**
@@ -92,6 +92,7 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO {
           'entity' => 'ParticipantPayment',
           'bao' => 'CRM_Event_BAO_ParticipantPayment',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'participant_id' => [
           'name' => 'participant_id',
@@ -105,6 +106,7 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_ParticipantPayment',
           'localizable' => 0,
           'FKClassName' => 'CRM_Event_DAO_Participant',
+          'add' => '1.7',
         ],
         'contribution_id' => [
           'name' => 'contribution_id',
@@ -118,6 +120,7 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO {
           'bao' => 'CRM_Event_BAO_ParticipantPayment',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+          'add' => '2.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Event/DAO/ParticipantStatusType.php b/civicrm/CRM/Event/DAO/ParticipantStatusType.php
index 85cc8e419f..f8d6616ada 100644
--- a/civicrm/CRM/Event/DAO/ParticipantStatusType.php
+++ b/civicrm/CRM/Event/DAO/ParticipantStatusType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/ParticipantStatusType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d87b49cf752d4ffb3ff346c30506e170)
+ * (GenCodeChecksum:489994257c16b8627c82566c074a9b7c)
  */
 
 /**
@@ -118,6 +118,7 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO {
           'entity' => 'ParticipantStatusType',
           'bao' => 'CRM_Event_BAO_ParticipantStatusType',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'participant_status' => [
           'name' => 'name',
@@ -133,6 +134,7 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO {
           'entity' => 'ParticipantStatusType',
           'bao' => 'CRM_Event_BAO_ParticipantStatusType',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'label' => [
           'name' => 'label',
@@ -146,6 +148,7 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO {
           'entity' => 'ParticipantStatusType',
           'bao' => 'CRM_Event_BAO_ParticipantStatusType',
           'localizable' => 1,
+          'add' => '3.0',
         ],
         'class' => [
           'name' => 'class',
@@ -165,6 +168,7 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Event_PseudoConstant::participantStatusClassOptions',
           ],
+          'add' => '3.0',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -176,6 +180,7 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO {
           'entity' => 'ParticipantStatusType',
           'bao' => 'CRM_Event_BAO_ParticipantStatusType',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -188,6 +193,7 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO {
           'entity' => 'ParticipantStatusType',
           'bao' => 'CRM_Event_BAO_ParticipantStatusType',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'is_counted' => [
           'name' => 'is_counted',
@@ -199,6 +205,7 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO {
           'entity' => 'ParticipantStatusType',
           'bao' => 'CRM_Event_BAO_ParticipantStatusType',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'weight' => [
           'name' => 'weight',
@@ -211,6 +218,7 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO {
           'entity' => 'ParticipantStatusType',
           'bao' => 'CRM_Event_BAO_ParticipantStatusType',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'visibility_id' => [
           'name' => 'visibility_id',
@@ -229,6 +237,7 @@ class CRM_Event_DAO_ParticipantStatusType extends CRM_Core_DAO {
             'optionGroupName' => 'visibility',
             'optionEditPath' => 'civicrm/admin/options/visibility',
           ],
+          'add' => '3.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Financial/DAO/Currency.php b/civicrm/CRM/Financial/DAO/Currency.php
index 5d087d5571..8b824ea2ec 100644
--- a/civicrm/CRM/Financial/DAO/Currency.php
+++ b/civicrm/CRM/Financial/DAO/Currency.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/Currency.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:deb271a4217800d258244eab0eec2af5)
+ * (GenCodeChecksum:721040e661f3dd3e05ffa6ed250c4e23)
  */
 
 /**
@@ -90,6 +90,7 @@ class CRM_Financial_DAO_Currency extends CRM_Core_DAO {
           'entity' => 'Currency',
           'bao' => 'CRM_Financial_DAO_Currency',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'name' => [
           'name' => 'name',
@@ -108,6 +109,7 @@ class CRM_Financial_DAO_Currency extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'symbol' => [
           'name' => 'symbol',
@@ -124,6 +126,7 @@ class CRM_Financial_DAO_Currency extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'numeric_code' => [
           'name' => 'numeric_code',
@@ -139,6 +142,7 @@ class CRM_Financial_DAO_Currency extends CRM_Core_DAO {
           'entity' => 'Currency',
           'bao' => 'CRM_Financial_DAO_Currency',
           'localizable' => 0,
+          'add' => '1.9',
         ],
         'full_name' => [
           'name' => 'full_name',
@@ -155,6 +159,7 @@ class CRM_Financial_DAO_Currency extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.9',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Financial/DAO/EntityFinancialAccount.php b/civicrm/CRM/Financial/DAO/EntityFinancialAccount.php
index d0316067bb..67c6505d23 100644
--- a/civicrm/CRM/Financial/DAO/EntityFinancialAccount.php
+++ b/civicrm/CRM/Financial/DAO/EntityFinancialAccount.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:677acfd2e16083ab88abbeb3051dd616)
+ * (GenCodeChecksum:e122d3de737d2d8f984802e050b79740)
  */
 
 /**
@@ -106,6 +106,7 @@ class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
           'entity' => 'EntityFinancialAccount',
           'bao' => 'CRM_Financial_DAO_EntityFinancialAccount',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -122,6 +123,7 @@ class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
           'entity' => 'EntityFinancialAccount',
           'bao' => 'CRM_Financial_DAO_EntityFinancialAccount',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -134,6 +136,7 @@ class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
           'entity' => 'EntityFinancialAccount',
           'bao' => 'CRM_Financial_DAO_EntityFinancialAccount',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'account_relationship' => [
           'name' => 'account_relationship',
@@ -153,6 +156,7 @@ class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
             'optionGroupName' => 'account_relationship',
             'optionEditPath' => 'civicrm/admin/options/account_relationship',
           ],
+          'add' => '4.3',
         ],
         'financial_account_id' => [
           'name' => 'financial_account_id',
@@ -174,6 +178,7 @@ class CRM_Financial_DAO_EntityFinancialAccount extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Financial/DAO/EntityFinancialTrxn.php b/civicrm/CRM/Financial/DAO/EntityFinancialTrxn.php
index 8a57c1b2ab..37302e6576 100644
--- a/civicrm/CRM/Financial/DAO/EntityFinancialTrxn.php
+++ b/civicrm/CRM/Financial/DAO/EntityFinancialTrxn.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a2a7ed7efce5731cde1127d2ca874fb6)
+ * (GenCodeChecksum:852c9c70f201b0961e165bef0f4be109)
  */
 
 /**
@@ -102,6 +102,7 @@ class CRM_Financial_DAO_EntityFinancialTrxn extends CRM_Core_DAO {
           'entity' => 'EntityFinancialTrxn',
           'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
           'localizable' => 0,
+          'add' => '3.2',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -118,6 +119,7 @@ class CRM_Financial_DAO_EntityFinancialTrxn extends CRM_Core_DAO {
           'entity' => 'EntityFinancialTrxn',
           'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
           'localizable' => 0,
+          'add' => '3.2',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -129,6 +131,7 @@ class CRM_Financial_DAO_EntityFinancialTrxn extends CRM_Core_DAO {
           'entity' => 'EntityFinancialTrxn',
           'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
           'localizable' => 0,
+          'add' => '3.2',
         ],
         'financial_trxn_id' => [
           'name' => 'financial_trxn_id',
@@ -140,6 +143,7 @@ class CRM_Financial_DAO_EntityFinancialTrxn extends CRM_Core_DAO {
           'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
           'localizable' => 0,
           'FKClassName' => 'CRM_Financial_DAO_FinancialTrxn',
+          'add' => '3.2',
         ],
         'amount' => [
           'name' => 'amount',
@@ -160,6 +164,7 @@ class CRM_Financial_DAO_EntityFinancialTrxn extends CRM_Core_DAO {
           'entity' => 'EntityFinancialTrxn',
           'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
           'localizable' => 0,
+          'add' => '3.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Financial/DAO/FinancialAccount.php b/civicrm/CRM/Financial/DAO/FinancialAccount.php
index af9a1c8713..c6d14edd16 100644
--- a/civicrm/CRM/Financial/DAO/FinancialAccount.php
+++ b/civicrm/CRM/Financial/DAO/FinancialAccount.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialAccount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ccca91d77f1c8f2639bf0d81bd484b9c)
+ * (GenCodeChecksum:c207988e19f10e2667773fff9929abc8)
  */
 
 /**
@@ -176,6 +176,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'entity' => 'FinancialAccount',
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
+          'add' => '3.2',
         ],
         'name' => [
           'name' => 'name',
@@ -190,6 +191,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'entity' => 'FinancialAccount',
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
+          'add' => '3.2',
         ],
         'financial_account_contact_id' => [
           'name' => 'contact_id',
@@ -202,6 +204,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.3',
         ],
         'financial_account_type_id' => [
           'name' => 'financial_account_type_id',
@@ -222,6 +225,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
             'optionGroupName' => 'financial_account_type',
             'optionEditPath' => 'civicrm/admin/options/financial_account_type',
           ],
+          'add' => '4.3',
         ],
         'accounting_code' => [
           'name' => 'accounting_code',
@@ -236,6 +240,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'entity' => 'FinancialAccount',
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'account_type_code' => [
           'name' => 'account_type_code',
@@ -250,6 +255,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'entity' => 'FinancialAccount',
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'description' => [
           'name' => 'description',
@@ -263,6 +269,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'entity' => 'FinancialAccount',
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'parent_id' => [
           'name' => 'parent_id',
@@ -275,6 +282,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
           'FKClassName' => 'CRM_Financial_DAO_FinancialAccount',
+          'add' => '4.3',
         ],
         'is_header_account' => [
           'name' => 'is_header_account',
@@ -287,6 +295,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'entity' => 'FinancialAccount',
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'is_deductible' => [
           'name' => 'is_deductible',
@@ -299,6 +308,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'entity' => 'FinancialAccount',
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'is_tax' => [
           'name' => 'is_tax',
@@ -311,6 +321,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'entity' => 'FinancialAccount',
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'tax_rate' => [
           'name' => 'tax_rate',
@@ -326,6 +337,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'entity' => 'FinancialAccount',
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -337,6 +349,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'entity' => 'FinancialAccount',
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -348,6 +361,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'entity' => 'FinancialAccount',
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -359,6 +373,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
           'entity' => 'FinancialAccount',
           'bao' => 'CRM_Financial_BAO_FinancialAccount',
           'localizable' => 0,
+          'add' => '4.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Financial/DAO/FinancialItem.php b/civicrm/CRM/Financial/DAO/FinancialItem.php
index 728acc9447..0f781cc540 100644
--- a/civicrm/CRM/Financial/DAO/FinancialItem.php
+++ b/civicrm/CRM/Financial/DAO/FinancialItem.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:955fb837c150c2f16f165f8a03610769)
+ * (GenCodeChecksum:d98305518549ded88f3314e439b30d1c)
  */
 
 /**
@@ -146,6 +146,7 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO {
           'entity' => 'FinancialItem',
           'bao' => 'CRM_Financial_BAO_FinancialItem',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -159,6 +160,7 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO {
           'entity' => 'FinancialItem',
           'bao' => 'CRM_Financial_BAO_FinancialItem',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'transaction_date' => [
           'name' => 'transaction_date',
@@ -171,6 +173,7 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO {
           'entity' => 'FinancialItem',
           'bao' => 'CRM_Financial_BAO_FinancialItem',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -185,6 +188,7 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO {
           'bao' => 'CRM_Financial_BAO_FinancialItem',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.3',
         ],
         'description' => [
           'name' => 'description',
@@ -198,6 +202,7 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO {
           'entity' => 'FinancialItem',
           'bao' => 'CRM_Financial_BAO_FinancialItem',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'amount' => [
           'name' => 'amount',
@@ -217,6 +222,7 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO {
           'entity' => 'FinancialItem',
           'bao' => 'CRM_Financial_BAO_FinancialItem',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'currency' => [
           'name' => 'currency',
@@ -241,6 +247,7 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '4.3',
         ],
         'financial_account_id' => [
           'name' => 'financial_account_id',
@@ -261,6 +268,7 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'status_id' => [
           'name' => 'status_id',
@@ -280,6 +288,7 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO {
             'optionGroupName' => 'financial_item_status',
             'optionEditPath' => 'civicrm/admin/options/financial_item_status',
           ],
+          'add' => '4.3',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -293,6 +302,7 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO {
           'entity' => 'FinancialItem',
           'bao' => 'CRM_Financial_BAO_FinancialItem',
           'localizable' => 0,
+          'add' => '4.3',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -304,6 +314,7 @@ class CRM_Financial_DAO_FinancialItem extends CRM_Core_DAO {
           'entity' => 'FinancialItem',
           'bao' => 'CRM_Financial_BAO_FinancialItem',
           'localizable' => 0,
+          'add' => '4.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Financial/DAO/FinancialTrxn.php b/civicrm/CRM/Financial/DAO/FinancialTrxn.php
index 4758ffce2f..4523fc1bea 100644
--- a/civicrm/CRM/Financial/DAO/FinancialTrxn.php
+++ b/civicrm/CRM/Financial/DAO/FinancialTrxn.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialTrxn.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5b87e37bc3aa9d445e74d1f5d38bdb61)
+ * (GenCodeChecksum:1d28de43212efaa518db33ee4951e911)
  */
 
 /**
@@ -195,6 +195,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'entity' => 'FinancialTrxn',
           'bao' => 'CRM_Financial_DAO_FinancialTrxn',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'from_financial_account_id' => [
           'name' => 'from_financial_account_id',
@@ -215,6 +216,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'to_financial_account_id' => [
           'name' => 'to_financial_account_id',
@@ -235,6 +237,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'trxn_date' => [
           'name' => 'trxn_date',
@@ -251,6 +254,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.3',
         ],
         'total_amount' => [
           'name' => 'total_amount',
@@ -267,6 +271,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'entity' => 'FinancialTrxn',
           'bao' => 'CRM_Financial_DAO_FinancialTrxn',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'fee_amount' => [
           'name' => 'fee_amount',
@@ -282,6 +287,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'entity' => 'FinancialTrxn',
           'bao' => 'CRM_Financial_DAO_FinancialTrxn',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'net_amount' => [
           'name' => 'net_amount',
@@ -297,6 +303,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'entity' => 'FinancialTrxn',
           'bao' => 'CRM_Financial_DAO_FinancialTrxn',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'currency' => [
           'name' => 'currency',
@@ -325,6 +332,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '1.3',
         ],
         'is_payment' => [
           'name' => 'is_payment',
@@ -339,6 +347,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'entity' => 'FinancialTrxn',
           'bao' => 'CRM_Financial_DAO_FinancialTrxn',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'trxn_id' => [
           'name' => 'trxn_id',
@@ -355,6 +364,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.3',
         ],
         'trxn_result_code' => [
           'name' => 'trxn_result_code',
@@ -368,6 +378,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'entity' => 'FinancialTrxn',
           'bao' => 'CRM_Financial_DAO_FinancialTrxn',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'status_id' => [
           'name' => 'status_id',
@@ -386,6 +397,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
             'optionGroupName' => 'contribution_status',
             'optionEditPath' => 'civicrm/admin/options/contribution_status',
           ],
+          'add' => '4.3',
         ],
         'payment_processor_id' => [
           'name' => 'payment_processor_id',
@@ -398,6 +410,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'bao' => 'CRM_Financial_DAO_FinancialTrxn',
           'localizable' => 0,
           'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor',
+          'add' => '4.3',
         ],
         'financial_trxn_payment_instrument_id' => [
           'name' => 'payment_instrument_id',
@@ -416,6 +429,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
             'optionGroupName' => 'payment_instrument',
             'optionEditPath' => 'civicrm/admin/options/payment_instrument',
           ],
+          'add' => '4.3',
         ],
         'financial_trxn_card_type_id' => [
           'name' => 'card_type_id',
@@ -434,6 +448,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
             'optionGroupName' => 'accept_creditcard',
             'optionEditPath' => 'civicrm/admin/options/accept_creditcard',
           ],
+          'add' => '4.7',
         ],
         'financial_trxn_check_number' => [
           'name' => 'check_number',
@@ -450,6 +465,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.3',
         ],
         'financial_trxn_pan_truncation' => [
           'name' => 'pan_truncation',
@@ -466,6 +482,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.7',
         ],
         'financial_trxn_order_reference' => [
           'name' => 'order_reference',
@@ -482,6 +499,7 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '5.20',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Financial/DAO/FinancialType.php b/civicrm/CRM/Financial/DAO/FinancialType.php
index d6a2a5fdbd..d792bbcbde 100644
--- a/civicrm/CRM/Financial/DAO/FinancialType.php
+++ b/civicrm/CRM/Financial/DAO/FinancialType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2b85a903889dbaebc8fd1dc4994ef11d)
+ * (GenCodeChecksum:f9510d4aba2aa2e4701a67c396111a6e)
  */
 
 /**
@@ -97,6 +97,7 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO {
           'entity' => 'FinancialType',
           'bao' => 'CRM_Financial_BAO_FinancialType',
           'localizable' => 0,
+          'add' => '1.3',
         ],
         'financial_type' => [
           'name' => 'name',
@@ -119,6 +120,7 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO {
             'type' => 'Text',
             'label' => ts("Name"),
           ],
+          'add' => '1.3',
         ],
         'description' => [
           'name' => 'description',
@@ -136,6 +138,7 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO {
             'type' => 'TextArea',
             'label' => ts("Description"),
           ],
+          'add' => '1.3',
         ],
         'is_deductible' => [
           'name' => 'is_deductible',
@@ -152,6 +155,7 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO {
             'type' => 'CheckBox',
             'label' => ts("Tax-Deductible?"),
           ],
+          'add' => '1.3',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -167,6 +171,7 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO {
             'type' => 'CheckBox',
             'label' => ts("Reserved?"),
           ],
+          'add' => '1.3',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -182,6 +187,7 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO {
             'type' => 'CheckBox',
             'label' => ts("Enabled?"),
           ],
+          'add' => '1.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Financial/DAO/PaymentProcessor.php b/civicrm/CRM/Financial/DAO/PaymentProcessor.php
index 5fda60987d..bd88237774 100644
--- a/civicrm/CRM/Financial/DAO/PaymentProcessor.php
+++ b/civicrm/CRM/Financial/DAO/PaymentProcessor.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cf330d3d3e18960b1e32a3001d8cd038)
+ * (GenCodeChecksum:ca84b8a7def92b4567080de6afda6396)
  */
 
 /**
@@ -212,6 +212,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'entity' => 'PaymentProcessor',
           'bao' => 'CRM_Financial_BAO_PaymentProcessor',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -230,6 +231,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.0',
         ],
         'name' => [
           'name' => 'name',
@@ -246,6 +248,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'title' => [
           'name' => 'title',
@@ -262,6 +265,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '5.13',
         ],
         'description' => [
           'name' => 'description',
@@ -278,6 +282,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'payment_processor_type_id' => [
           'name' => 'payment_processor_type_id',
@@ -295,6 +300,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '4.3',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -307,6 +313,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'entity' => 'PaymentProcessor',
           'bao' => 'CRM_Financial_BAO_PaymentProcessor',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -319,6 +326,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'entity' => 'PaymentProcessor',
           'bao' => 'CRM_Financial_BAO_PaymentProcessor',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'is_test' => [
           'name' => 'is_test',
@@ -331,6 +339,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'entity' => 'PaymentProcessor',
           'bao' => 'CRM_Financial_BAO_PaymentProcessor',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'user_name' => [
           'name' => 'user_name',
@@ -346,6 +355,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'password' => [
           'name' => 'password',
@@ -361,6 +371,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'html' => [
             'type' => 'Password',
           ],
+          'add' => '1.8',
         ],
         'signature' => [
           'name' => 'signature',
@@ -376,6 +387,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.8',
         ],
         'url_site' => [
           'name' => 'url_site',
@@ -391,6 +403,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'url_api' => [
           'name' => 'url_api',
@@ -406,6 +419,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'url_recur' => [
           'name' => 'url_recur',
@@ -421,6 +435,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'url_button' => [
           'name' => 'url_button',
@@ -436,6 +451,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'subject' => [
           'name' => 'subject',
@@ -451,6 +467,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'class_name' => [
           'name' => 'class_name',
@@ -463,6 +480,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'entity' => 'PaymentProcessor',
           'bao' => 'CRM_Financial_BAO_PaymentProcessor',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'billing_mode' => [
           'name' => 'billing_mode',
@@ -475,6 +493,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'entity' => 'PaymentProcessor',
           'bao' => 'CRM_Financial_BAO_PaymentProcessor',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'is_recur' => [
           'name' => 'is_recur',
@@ -486,6 +505,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'entity' => 'PaymentProcessor',
           'bao' => 'CRM_Financial_BAO_PaymentProcessor',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'payment_type' => [
           'name' => 'payment_type',
@@ -498,6 +518,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'entity' => 'PaymentProcessor',
           'bao' => 'CRM_Financial_BAO_PaymentProcessor',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'payment_instrument_id' => [
           'name' => 'payment_instrument_id',
@@ -514,6 +535,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
             'optionGroupName' => 'payment_instrument',
             'optionEditPath' => 'civicrm/admin/options/payment_instrument',
           ],
+          'add' => '4.7',
         ],
         'accepted_credit_cards' => [
           'name' => 'accepted_credit_cards',
@@ -527,6 +549,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'bao' => 'CRM_Financial_BAO_PaymentProcessor',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_JSON,
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Financial/DAO/PaymentProcessorType.php b/civicrm/CRM/Financial/DAO/PaymentProcessorType.php
index fc9627c090..53304c1f71 100644
--- a/civicrm/CRM/Financial/DAO/PaymentProcessorType.php
+++ b/civicrm/CRM/Financial/DAO/PaymentProcessorType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentProcessorType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1133a3c9eb58738c315a8509fea39d72)
+ * (GenCodeChecksum:60d053c80ab1b88ee0acc660dbe37531)
  */
 
 /**
@@ -190,6 +190,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'name' => [
           'name' => 'name',
@@ -204,6 +205,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'title' => [
           'name' => 'title',
@@ -218,6 +220,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'description' => [
           'name' => 'description',
@@ -231,6 +234,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -243,6 +247,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -255,6 +260,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'user_name_label' => [
           'name' => 'user_name_label',
@@ -267,6 +273,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'password_label' => [
           'name' => 'password_label',
@@ -279,6 +286,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'signature_label' => [
           'name' => 'signature_label',
@@ -291,6 +299,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'subject_label' => [
           'name' => 'subject_label',
@@ -303,6 +312,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'class_name' => [
           'name' => 'class_name',
@@ -316,6 +326,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'url_site_default' => [
           'name' => 'url_site_default',
@@ -328,6 +339,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'url_api_default' => [
           'name' => 'url_api_default',
@@ -340,6 +352,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'url_recur_default' => [
           'name' => 'url_recur_default',
@@ -352,6 +365,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'url_button_default' => [
           'name' => 'url_button_default',
@@ -364,6 +378,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'url_site_test_default' => [
           'name' => 'url_site_test_default',
@@ -376,6 +391,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'url_api_test_default' => [
           'name' => 'url_api_test_default',
@@ -388,6 +404,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'url_recur_test_default' => [
           'name' => 'url_recur_test_default',
@@ -400,6 +417,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'url_button_test_default' => [
           'name' => 'url_button_test_default',
@@ -412,6 +430,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'billing_mode' => [
           'name' => 'billing_mode',
@@ -430,6 +449,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::billingMode',
           ],
+          'add' => '1.8',
         ],
         'is_recur' => [
           'name' => 'is_recur',
@@ -441,6 +461,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'payment_type' => [
           'name' => 'payment_type',
@@ -453,6 +474,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
           'entity' => 'PaymentProcessorType',
           'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
           'localizable' => 0,
+          'add' => '3.0',
         ],
         'payment_instrument_id' => [
           'name' => 'payment_instrument_id',
@@ -469,6 +491,7 @@ class CRM_Financial_DAO_PaymentProcessorType extends CRM_Core_DAO {
             'optionGroupName' => 'payment_instrument',
             'optionEditPath' => 'civicrm/admin/options/payment_instrument',
           ],
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Financial/DAO/PaymentToken.php b/civicrm/CRM/Financial/DAO/PaymentToken.php
index 6042a126ad..119333c342 100644
--- a/civicrm/CRM/Financial/DAO/PaymentToken.php
+++ b/civicrm/CRM/Financial/DAO/PaymentToken.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentToken.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:13544efb93b23abff9ec2bf420fcd15a)
+ * (GenCodeChecksum:7819454bb802d003574b62723fd47765)
  */
 
 /**
@@ -161,6 +161,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO {
           'entity' => 'PaymentToken',
           'bao' => 'CRM_Financial_DAO_PaymentToken',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -174,6 +175,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO {
           'bao' => 'CRM_Financial_DAO_PaymentToken',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.6',
         ],
         'payment_processor_id' => [
           'name' => 'payment_processor_id',
@@ -186,6 +188,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO {
           'bao' => 'CRM_Financial_DAO_PaymentToken',
           'localizable' => 0,
           'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor',
+          'add' => '4.6',
         ],
         'token' => [
           'name' => 'token',
@@ -200,6 +203,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO {
           'entity' => 'PaymentToken',
           'bao' => 'CRM_Financial_DAO_PaymentToken',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -212,6 +216,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO {
           'entity' => 'PaymentToken',
           'bao' => 'CRM_Financial_DAO_PaymentToken',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -224,6 +229,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO {
           'bao' => 'CRM_Financial_DAO_PaymentToken',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.6',
         ],
         'expiry_date' => [
           'name' => 'expiry_date',
@@ -235,6 +241,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO {
           'entity' => 'PaymentToken',
           'bao' => 'CRM_Financial_DAO_PaymentToken',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'email' => [
           'name' => 'email',
@@ -248,6 +255,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO {
           'entity' => 'PaymentToken',
           'bao' => 'CRM_Financial_DAO_PaymentToken',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'billing_first_name' => [
           'name' => 'billing_first_name',
@@ -261,6 +269,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO {
           'entity' => 'PaymentToken',
           'bao' => 'CRM_Financial_DAO_PaymentToken',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'billing_middle_name' => [
           'name' => 'billing_middle_name',
@@ -274,6 +283,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO {
           'entity' => 'PaymentToken',
           'bao' => 'CRM_Financial_DAO_PaymentToken',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'billing_last_name' => [
           'name' => 'billing_last_name',
@@ -287,6 +297,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO {
           'entity' => 'PaymentToken',
           'bao' => 'CRM_Financial_DAO_PaymentToken',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'masked_account_number' => [
           'name' => 'masked_account_number',
@@ -300,6 +311,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO {
           'entity' => 'PaymentToken',
           'bao' => 'CRM_Financial_DAO_PaymentToken',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'ip_address' => [
           'name' => 'ip_address',
@@ -313,6 +325,7 @@ class CRM_Financial_DAO_PaymentToken extends CRM_Core_DAO {
           'entity' => 'PaymentToken',
           'bao' => 'CRM_Financial_DAO_PaymentToken',
           'localizable' => 0,
+          'add' => '4.6',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Friend/DAO/Friend.php b/civicrm/CRM/Friend/DAO/Friend.php
index bb66fa7ff3..25b7bf9d67 100644
--- a/civicrm/CRM/Friend/DAO/Friend.php
+++ b/civicrm/CRM/Friend/DAO/Friend.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Friend/Friend.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1800a70ee75e0958cd01c250085ab793)
+ * (GenCodeChecksum:a3557f919ae7f3ffa25871e837aa59d9)
  */
 
 /**
@@ -136,6 +136,7 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'entity' => 'Friend',
           'bao' => 'CRM_Friend_BAO_Friend',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -150,6 +151,7 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'entity' => 'Friend',
           'bao' => 'CRM_Friend_BAO_Friend',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -162,6 +164,7 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'entity' => 'Friend',
           'bao' => 'CRM_Friend_BAO_Friend',
           'localizable' => 0,
+          'add' => '2.0',
         ],
         'title' => [
           'name' => 'title',
@@ -177,6 +180,7 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.0',
         ],
         'intro' => [
           'name' => 'intro',
@@ -191,6 +195,7 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.0',
         ],
         'suggested_message' => [
           'name' => 'suggested_message',
@@ -205,6 +210,7 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.0',
         ],
         'general_link' => [
           'name' => 'general_link',
@@ -223,6 +229,7 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.0',
         ],
         'thankyou_title' => [
           'name' => 'thankyou_title',
@@ -239,6 +246,7 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.0',
         ],
         'thankyou_text' => [
           'name' => 'thankyou_text',
@@ -253,6 +261,7 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.0',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -266,6 +275,7 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Grant/DAO/Grant.php b/civicrm/CRM/Grant/DAO/Grant.php
index 6b4e2030fa..6d9a0dbdc6 100644
--- a/civicrm/CRM/Grant/DAO/Grant.php
+++ b/civicrm/CRM/Grant/DAO/Grant.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Grant/Grant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e3991ac7947eba1455b363a55b1064eb)
+ * (GenCodeChecksum:7b147f63c16d23b747d2c451b48afc10)
  */
 
 /**
@@ -178,6 +178,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',
@@ -195,6 +196,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '1.8',
         ],
         'grant_application_received_date' => [
           'name' => 'application_received_date',
@@ -212,6 +214,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.8',
         ],
         'grant_decision_date' => [
           'name' => 'decision_date',
@@ -229,6 +232,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',
@@ -246,6 +250,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',
@@ -263,6 +268,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',
@@ -279,6 +285,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.8',
         ],
         'grant_type_id' => [
           'name' => 'grant_type_id',
@@ -299,6 +306,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',
@@ -321,6 +329,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'amount_requested' => [
           'name' => 'amount_requested',
@@ -340,6 +349,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'amount_granted' => [
           'name' => 'amount_granted',
@@ -361,6 +371,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'currency' => [
           'name' => 'currency',
@@ -385,6 +396,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '3.2',
         ],
         'rationale' => [
           'name' => 'rationale',
@@ -403,6 +415,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.8',
         ],
         'grant_status_id' => [
           'name' => 'status_id',
@@ -424,6 +437,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',
@@ -442,6 +456,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']);
diff --git a/civicrm/CRM/Mailing/DAO/BouncePattern.php b/civicrm/CRM/Mailing/DAO/BouncePattern.php
index 5bb9f028cf..a93e53853c 100644
--- a/civicrm/CRM/Mailing/DAO/BouncePattern.php
+++ b/civicrm/CRM/Mailing/DAO/BouncePattern.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/BouncePattern.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c72ed4774d00758d25e6a167f4215906)
+ * (GenCodeChecksum:7bdec71fe0b627a02732c904ad336a85)
  */
 
 /**
@@ -88,6 +88,7 @@ class CRM_Mailing_DAO_BouncePattern extends CRM_Core_DAO {
           'entity' => 'BouncePattern',
           'bao' => 'CRM_Mailing_BAO_BouncePattern',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'bounce_type_id' => [
           'name' => 'bounce_type_id',
@@ -106,6 +107,7 @@ class CRM_Mailing_DAO_BouncePattern extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => NULL,
         ],
         'pattern' => [
           'name' => 'pattern',
@@ -119,6 +121,7 @@ class CRM_Mailing_DAO_BouncePattern extends CRM_Core_DAO {
           'entity' => 'BouncePattern',
           'bao' => 'CRM_Mailing_BAO_BouncePattern',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/DAO/BounceType.php b/civicrm/CRM/Mailing/DAO/BounceType.php
index fa39ecc35d..00421d8eae 100644
--- a/civicrm/CRM/Mailing/DAO/BounceType.php
+++ b/civicrm/CRM/Mailing/DAO/BounceType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/BounceType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9a10baee53da12eee58e5b229fadf6d9)
+ * (GenCodeChecksum:000d0e3dbe0a61106d00e5f7b5c4ac93)
  */
 
 /**
@@ -80,6 +80,7 @@ class CRM_Mailing_DAO_BounceType extends CRM_Core_DAO {
           'entity' => 'BounceType',
           'bao' => 'CRM_Mailing_DAO_BounceType',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'name' => [
           'name' => 'name',
@@ -94,6 +95,7 @@ class CRM_Mailing_DAO_BounceType extends CRM_Core_DAO {
           'entity' => 'BounceType',
           'bao' => 'CRM_Mailing_DAO_BounceType',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'description' => [
           'name' => 'description',
@@ -107,6 +109,7 @@ class CRM_Mailing_DAO_BounceType extends CRM_Core_DAO {
           'entity' => 'BounceType',
           'bao' => 'CRM_Mailing_DAO_BounceType',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'hold_threshold' => [
           'name' => 'hold_threshold',
@@ -119,6 +122,7 @@ class CRM_Mailing_DAO_BounceType extends CRM_Core_DAO {
           'entity' => 'BounceType',
           'bao' => 'CRM_Mailing_DAO_BounceType',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/DAO/Mailing.php b/civicrm/CRM/Mailing/DAO/Mailing.php
index 4895def521..c870390076 100644
--- a/civicrm/CRM/Mailing/DAO/Mailing.php
+++ b/civicrm/CRM/Mailing/DAO/Mailing.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Mailing.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5e3229fc70fd87ddb448fcc672e44c3d)
+ * (GenCodeChecksum:786c6f74132ff42f643b1f5a9104f040)
  */
 
 /**
@@ -376,6 +376,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'entity' => 'Mailing',
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -393,6 +394,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.4',
         ],
         'header_id' => [
           'name' => 'header_id',
@@ -411,6 +413,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
             'labelColumn' => 'name',
             'condition' => 'component_type = "Header"',
           ],
+          'add' => NULL,
         ],
         'footer_id' => [
           'name' => 'footer_id',
@@ -429,6 +432,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
             'labelColumn' => 'name',
             'condition' => 'component_type = "Footer"',
           ],
+          'add' => NULL,
         ],
         'reply_id' => [
           'name' => 'reply_id',
@@ -441,6 +445,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_DAO_MailingComponent',
+          'add' => NULL,
         ],
         'unsubscribe_id' => [
           'name' => 'unsubscribe_id',
@@ -453,6 +458,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_DAO_MailingComponent',
+          'add' => NULL,
         ],
         'resubscribe_id' => [
           'name' => 'resubscribe_id',
@@ -463,6 +469,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'entity' => 'Mailing',
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'optout_id' => [
           'name' => 'optout_id',
@@ -475,6 +482,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_DAO_MailingComponent',
+          'add' => NULL,
         ],
         'mailing_name' => [
           'name' => 'name',
@@ -491,6 +499,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => NULL,
         ],
         'mailing_type' => [
           'name' => 'mailing_type',
@@ -510,6 +519,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Mailing_PseudoConstant::mailingTypes',
           ],
+          'add' => '4.6',
         ],
         'from_name' => [
           'name' => 'from_name',
@@ -526,6 +536,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => NULL,
         ],
         'from_email' => [
           'name' => 'from_email',
@@ -542,6 +553,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => NULL,
         ],
         'replyto_email' => [
           'name' => 'replyto_email',
@@ -558,6 +570,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => NULL,
         ],
         'template_type' => [
           'name' => 'template_type',
@@ -576,6 +589,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Mailing_BAO_Mailing::getTemplateTypeNames',
           ],
+          'add' => NULL,
         ],
         'template_options' => [
           'name' => 'template_options',
@@ -587,6 +601,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'entity' => 'Mailing',
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'subject' => [
           'name' => 'subject',
@@ -603,6 +618,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => NULL,
         ],
         'body_text' => [
           'name' => 'body_text',
@@ -614,6 +630,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'entity' => 'Mailing',
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'body_html' => [
           'name' => 'body_html',
@@ -625,6 +642,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'entity' => 'Mailing',
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'url_tracking' => [
           'name' => 'url_tracking',
@@ -639,6 +657,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => NULL,
         ],
         'forward_replies' => [
           'name' => 'forward_replies',
@@ -653,6 +672,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => NULL,
         ],
         'auto_responder' => [
           'name' => 'auto_responder',
@@ -667,6 +687,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => NULL,
         ],
         'open_tracking' => [
           'name' => 'open_tracking',
@@ -678,6 +699,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'entity' => 'Mailing',
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'is_completed' => [
           'name' => 'is_completed',
@@ -692,6 +714,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => NULL,
         ],
         'msg_template_id' => [
           'name' => 'msg_template_id',
@@ -704,6 +727,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_MessageTemplate',
+          'add' => NULL,
         ],
         'override_verp' => [
           'name' => 'override_verp',
@@ -719,6 +743,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.2',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -731,6 +756,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => NULL,
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -748,6 +774,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '3.0',
         ],
         'mailing_modified_date' => [
           'name' => 'modified_date',
@@ -762,6 +789,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'entity' => 'Mailing',
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'scheduled_id' => [
           'name' => 'scheduled_id',
@@ -774,6 +802,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => NULL,
         ],
         'scheduled_date' => [
           'name' => 'scheduled_date',
@@ -791,6 +820,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '3.3',
         ],
         'approver_id' => [
           'name' => 'approver_id',
@@ -803,6 +833,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => NULL,
         ],
         'approval_date' => [
           'name' => 'approval_date',
@@ -820,6 +851,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '3.3',
         ],
         'approval_status_id' => [
           'name' => 'approval_status_id',
@@ -838,6 +870,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
             'optionGroupName' => 'mail_approval_status',
             'optionEditPath' => 'civicrm/admin/options/mail_approval_status',
           ],
+          'add' => '3.3',
         ],
         'approval_note' => [
           'name' => 'approval_note',
@@ -852,6 +885,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '3.3',
         ],
         'is_archived' => [
           'name' => 'is_archived',
@@ -867,6 +901,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.2',
         ],
         'visibility' => [
           'name' => 'visibility',
@@ -887,6 +922,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::groupVisibility',
           ],
+          'add' => '3.3',
         ],
         'campaign_id' => [
           'name' => 'campaign_id',
@@ -907,6 +943,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '3.4',
         ],
         'dedupe_email' => [
           'name' => 'dedupe_email',
@@ -922,6 +959,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.1',
         ],
         'sms_provider_id' => [
           'name' => 'sms_provider_id',
@@ -936,6 +974,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '4.2',
         ],
         'hash' => [
           'name' => 'hash',
@@ -949,6 +988,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'entity' => 'Mailing',
           'bao' => 'CRM_Mailing_BAO_Mailing',
           'localizable' => 0,
+          'add' => '4.5',
         ],
         'location_type_id' => [
           'name' => 'location_type_id',
@@ -966,6 +1006,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'display_name',
           ],
+          'add' => '4.6',
         ],
         'email_selection_method' => [
           'name' => 'email_selection_method',
@@ -983,6 +1024,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::emailSelectMethods',
           ],
+          'add' => '4.6',
         ],
         'language' => [
           'name' => 'language',
@@ -1004,6 +1046,7 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
             'keyColumn' => 'name',
             'optionEditPath' => 'civicrm/admin/options/languages',
           ],
+          'add' => '4.6',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/DAO/MailingAB.php b/civicrm/CRM/Mailing/DAO/MailingAB.php
index 37fa94d1b9..1847af3848 100644
--- a/civicrm/CRM/Mailing/DAO/MailingAB.php
+++ b/civicrm/CRM/Mailing/DAO/MailingAB.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingAB.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:808ef560b5f6c959cb4f3ceea87f5e38)
+ * (GenCodeChecksum:cf9f65f1875d52e355b0f21f1264637f)
  */
 
 /**
@@ -159,6 +159,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'entity' => 'MailingAB',
           'bao' => 'CRM_Mailing_BAO_MailingAB',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'name' => [
           'name' => 'name',
@@ -172,6 +173,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'entity' => 'MailingAB',
           'bao' => 'CRM_Mailing_BAO_MailingAB',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'status' => [
           'name' => 'status',
@@ -188,6 +190,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Mailing_PseudoConstant::abStatus',
           ],
+          'add' => '4.6',
         ],
         'mailing_id_a' => [
           'name' => 'mailing_id_a',
@@ -199,6 +202,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'entity' => 'MailingAB',
           'bao' => 'CRM_Mailing_BAO_MailingAB',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'mailing_id_b' => [
           'name' => 'mailing_id_b',
@@ -210,6 +214,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'entity' => 'MailingAB',
           'bao' => 'CRM_Mailing_BAO_MailingAB',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'mailing_id_c' => [
           'name' => 'mailing_id_c',
@@ -221,6 +226,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'entity' => 'MailingAB',
           'bao' => 'CRM_Mailing_BAO_MailingAB',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -233,6 +239,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'entity' => 'MailingAB',
           'bao' => 'CRM_Mailing_BAO_MailingAB',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'testing_criteria' => [
           'name' => 'testing_criteria',
@@ -248,6 +255,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Mailing_PseudoConstant::abTestCriteria',
           ],
+          'add' => '4.6',
         ],
         'winner_criteria' => [
           'name' => 'winner_criteria',
@@ -263,6 +271,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Mailing_PseudoConstant::abWinnerCriteria',
           ],
+          'add' => '4.6',
         ],
         'specific_url' => [
           'name' => 'specific_url',
@@ -276,6 +285,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'entity' => 'MailingAB',
           'bao' => 'CRM_Mailing_BAO_MailingAB',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'declare_winning_time' => [
           'name' => 'declare_winning_time',
@@ -287,6 +297,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'entity' => 'MailingAB',
           'bao' => 'CRM_Mailing_BAO_MailingAB',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'group_percentage' => [
           'name' => 'group_percentage',
@@ -297,6 +308,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'entity' => 'MailingAB',
           'bao' => 'CRM_Mailing_BAO_MailingAB',
           'localizable' => 0,
+          'add' => '4.6',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -309,6 +321,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_MailingAB',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.6',
         ],
         'created_date' => [
           'name' => 'created_date',
@@ -325,6 +338,7 @@ class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select Date',
           ],
+          'add' => '4.6',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/DAO/MailingComponent.php b/civicrm/CRM/Mailing/DAO/MailingComponent.php
index 3740b74ee3..d62736837b 100644
--- a/civicrm/CRM/Mailing/DAO/MailingComponent.php
+++ b/civicrm/CRM/Mailing/DAO/MailingComponent.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingComponent.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5f490a6a53497465a1dcb603a9eba297)
+ * (GenCodeChecksum:5f3ddd9d7e7f4b78ce0fac2f67189e50)
  */
 
 /**
@@ -106,6 +106,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'entity' => 'MailingComponent',
           'bao' => 'CRM_Mailing_BAO_MailingComponent',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'name' => [
           'name' => 'name',
@@ -119,6 +120,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'entity' => 'MailingComponent',
           'bao' => 'CRM_Mailing_BAO_MailingComponent',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'component_type' => [
           'name' => 'component_type',
@@ -138,6 +140,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::mailingComponents',
           ],
+          'add' => NULL,
         ],
         'subject' => [
           'name' => 'subject',
@@ -150,6 +153,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'entity' => 'MailingComponent',
           'bao' => 'CRM_Mailing_BAO_MailingComponent',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'body_html' => [
           'name' => 'body_html',
@@ -166,6 +170,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => NULL,
         ],
         'body_text' => [
           'name' => 'body_text',
@@ -182,6 +187,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => NULL,
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -194,6 +200,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'entity' => 'MailingComponent',
           'bao' => 'CRM_Mailing_BAO_MailingComponent',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -205,6 +212,7 @@ class CRM_Mailing_DAO_MailingComponent extends CRM_Core_DAO {
           'entity' => 'MailingComponent',
           'bao' => 'CRM_Mailing_BAO_MailingComponent',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/DAO/MailingGroup.php b/civicrm/CRM/Mailing/DAO/MailingGroup.php
index 54b3fc4c5e..8ba24cdcf5 100644
--- a/civicrm/CRM/Mailing/DAO/MailingGroup.php
+++ b/civicrm/CRM/Mailing/DAO/MailingGroup.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c36d380f7c8e1c66c5bb3e721ebb2586)
+ * (GenCodeChecksum:2f336432221c4cf760f96a357b350c19)
  */
 
 /**
@@ -117,6 +117,7 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO {
           'entity' => 'MailingGroup',
           'bao' => 'CRM_Mailing_DAO_MailingGroup',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'mailing_id' => [
           'name' => 'mailing_id',
@@ -130,6 +131,7 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_DAO_MailingGroup',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_DAO_Mailing',
+          'add' => NULL,
         ],
         'group_type' => [
           'name' => 'group_type',
@@ -149,6 +151,7 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getMailingGroupTypes',
           ],
+          'add' => NULL,
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -166,6 +169,7 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Mailing_BAO_Mailing::mailingGroupEntityTables',
           ],
+          'add' => NULL,
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -178,6 +182,7 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO {
           'entity' => 'MailingGroup',
           'bao' => 'CRM_Mailing_DAO_MailingGroup',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'search_id' => [
           'name' => 'search_id',
@@ -189,6 +194,7 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO {
           'entity' => 'MailingGroup',
           'bao' => 'CRM_Mailing_DAO_MailingGroup',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'search_args' => [
           'name' => 'search_args',
@@ -200,6 +206,7 @@ class CRM_Mailing_DAO_MailingGroup extends CRM_Core_DAO {
           'entity' => 'MailingGroup',
           'bao' => 'CRM_Mailing_DAO_MailingGroup',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/DAO/MailingJob.php b/civicrm/CRM/Mailing/DAO/MailingJob.php
index e379066565..7b14e357d7 100644
--- a/civicrm/CRM/Mailing/DAO/MailingJob.php
+++ b/civicrm/CRM/Mailing/DAO/MailingJob.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingJob.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:91fa15df43a9b86ba6cd53f1cc9783eb)
+ * (GenCodeChecksum:5e4c25e9abb58572add0d540464feaa5)
  */
 
 /**
@@ -145,6 +145,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
           'entity' => 'MailingJob',
           'bao' => 'CRM_Mailing_BAO_MailingJob',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'mailing_id' => [
           'name' => 'mailing_id',
@@ -158,6 +159,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_MailingJob',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_DAO_Mailing',
+          'add' => NULL,
         ],
         'scheduled_date' => [
           'name' => 'scheduled_date',
@@ -175,6 +177,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => NULL,
         ],
         'mailing_job_start_date' => [
           'name' => 'start_date',
@@ -193,6 +196,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => NULL,
         ],
         'end_date' => [
           'name' => 'end_date',
@@ -210,6 +214,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => NULL,
         ],
         'mailing_job_status' => [
           'name' => 'status',
@@ -229,6 +234,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::getMailingJobStatus',
           ],
+          'add' => NULL,
         ],
         'is_test' => [
           'name' => 'is_test',
@@ -241,6 +247,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
           'entity' => 'MailingJob',
           'bao' => 'CRM_Mailing_BAO_MailingJob',
           'localizable' => 0,
+          'add' => '1.9',
         ],
         'job_type' => [
           'name' => 'job_type',
@@ -254,6 +261,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
           'entity' => 'MailingJob',
           'bao' => 'CRM_Mailing_BAO_MailingJob',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'parent_id' => [
           'name' => 'parent_id',
@@ -267,6 +275,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_MailingJob',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_DAO_MailingJob',
+          'add' => '3.3',
         ],
         'job_offset' => [
           'name' => 'job_offset',
@@ -279,6 +288,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
           'entity' => 'MailingJob',
           'bao' => 'CRM_Mailing_BAO_MailingJob',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'job_limit' => [
           'name' => 'job_limit',
@@ -291,6 +301,7 @@ class CRM_Mailing_DAO_MailingJob extends CRM_Core_DAO {
           'entity' => 'MailingJob',
           'bao' => 'CRM_Mailing_BAO_MailingJob',
           'localizable' => 0,
+          'add' => '3.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/DAO/Recipients.php b/civicrm/CRM/Mailing/DAO/Recipients.php
index 82319af800..436a115cfa 100644
--- a/civicrm/CRM/Mailing/DAO/Recipients.php
+++ b/civicrm/CRM/Mailing/DAO/Recipients.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Recipients.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:75cd62ee31977e5f17025529a8b00a77)
+ * (GenCodeChecksum:3535ded1a75a43589d3db86cd9a08bdc)
  */
 
 /**
@@ -105,6 +105,7 @@ class CRM_Mailing_DAO_Recipients extends CRM_Core_DAO {
           'entity' => 'Recipients',
           'bao' => 'CRM_Mailing_BAO_Recipients',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'mailing_id' => [
           'name' => 'mailing_id',
@@ -118,6 +119,7 @@ class CRM_Mailing_DAO_Recipients extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_Recipients',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_DAO_Mailing',
+          'add' => NULL,
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -131,6 +133,7 @@ class CRM_Mailing_DAO_Recipients extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_Recipients',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => NULL,
         ],
         'email_id' => [
           'name' => 'email_id',
@@ -144,6 +147,7 @@ class CRM_Mailing_DAO_Recipients extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_Recipients',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Email',
+          'add' => NULL,
         ],
         'phone_id' => [
           'name' => 'phone_id',
@@ -157,6 +161,7 @@ class CRM_Mailing_DAO_Recipients extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_Recipients',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Phone',
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/DAO/Spool.php b/civicrm/CRM/Mailing/DAO/Spool.php
index d5b77c77d3..9469bc7001 100644
--- a/civicrm/CRM/Mailing/DAO/Spool.php
+++ b/civicrm/CRM/Mailing/DAO/Spool.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Spool.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d7cd83f74e7fdb454cf91ea9d2fd3450)
+ * (GenCodeChecksum:3fd955406406788293cac394da08640f)
  */
 
 /**
@@ -116,6 +116,7 @@ class CRM_Mailing_DAO_Spool extends CRM_Core_DAO {
           'entity' => 'Spool',
           'bao' => 'CRM_Mailing_BAO_Spool',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'job_id' => [
           'name' => 'job_id',
@@ -129,6 +130,7 @@ class CRM_Mailing_DAO_Spool extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_Spool',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_DAO_MailingJob',
+          'add' => NULL,
         ],
         'recipient_email' => [
           'name' => 'recipient_email',
@@ -140,6 +142,7 @@ class CRM_Mailing_DAO_Spool extends CRM_Core_DAO {
           'entity' => 'Spool',
           'bao' => 'CRM_Mailing_BAO_Spool',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'headers' => [
           'name' => 'headers',
@@ -151,6 +154,7 @@ class CRM_Mailing_DAO_Spool extends CRM_Core_DAO {
           'entity' => 'Spool',
           'bao' => 'CRM_Mailing_BAO_Spool',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'body' => [
           'name' => 'body',
@@ -162,6 +166,7 @@ class CRM_Mailing_DAO_Spool extends CRM_Core_DAO {
           'entity' => 'Spool',
           'bao' => 'CRM_Mailing_BAO_Spool',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'added_at' => [
           'name' => 'added_at',
@@ -175,6 +180,7 @@ class CRM_Mailing_DAO_Spool extends CRM_Core_DAO {
           'entity' => 'Spool',
           'bao' => 'CRM_Mailing_BAO_Spool',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'removed_at' => [
           'name' => 'removed_at',
@@ -188,6 +194,7 @@ class CRM_Mailing_DAO_Spool extends CRM_Core_DAO {
           'entity' => 'Spool',
           'bao' => 'CRM_Mailing_BAO_Spool',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/DAO/TrackableURL.php b/civicrm/CRM/Mailing/DAO/TrackableURL.php
index 4370552b21..07382e66d0 100644
--- a/civicrm/CRM/Mailing/DAO/TrackableURL.php
+++ b/civicrm/CRM/Mailing/DAO/TrackableURL.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/TrackableURL.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:af4238980ab67199493caf43c6ce2f35)
+ * (GenCodeChecksum:3f5734de366fbddd3ce6d1f9e790c025)
  */
 
 /**
@@ -88,6 +88,7 @@ class CRM_Mailing_DAO_TrackableURL extends CRM_Core_DAO {
           'entity' => 'TrackableURL',
           'bao' => 'CRM_Mailing_BAO_TrackableURL',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'url' => [
           'name' => 'url',
@@ -100,6 +101,7 @@ class CRM_Mailing_DAO_TrackableURL extends CRM_Core_DAO {
           'entity' => 'TrackableURL',
           'bao' => 'CRM_Mailing_BAO_TrackableURL',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'mailing_id' => [
           'name' => 'mailing_id',
@@ -113,6 +115,7 @@ class CRM_Mailing_DAO_TrackableURL extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_BAO_TrackableURL',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_DAO_Mailing',
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/Event/DAO/Bounce.php b/civicrm/CRM/Mailing/Event/DAO/Bounce.php
index 9fe63e56af..1cadc80105 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Bounce.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Bounce.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Bounce.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3ac099332818c43f2dca066c6e73149c)
+ * (GenCodeChecksum:1cff34c614e06913cd9a0b6fa5503453)
  */
 
 /**
@@ -102,6 +102,7 @@ class CRM_Mailing_Event_DAO_Bounce extends CRM_Core_DAO {
           'entity' => 'Bounce',
           'bao' => 'CRM_Mailing_Event_BAO_Bounce',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'event_queue_id' => [
           'name' => 'event_queue_id',
@@ -115,6 +116,7 @@ class CRM_Mailing_Event_DAO_Bounce extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_Bounce',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
+          'add' => NULL,
         ],
         'bounce_type_id' => [
           'name' => 'bounce_type_id',
@@ -134,6 +136,7 @@ class CRM_Mailing_Event_DAO_Bounce extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => NULL,
         ],
         'bounce_reason' => [
           'name' => 'bounce_reason',
@@ -147,6 +150,7 @@ class CRM_Mailing_Event_DAO_Bounce extends CRM_Core_DAO {
           'entity' => 'Bounce',
           'bao' => 'CRM_Mailing_Event_BAO_Bounce',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'time_stamp' => [
           'name' => 'time_stamp',
@@ -160,6 +164,7 @@ class CRM_Mailing_Event_DAO_Bounce extends CRM_Core_DAO {
           'entity' => 'Bounce',
           'bao' => 'CRM_Mailing_Event_BAO_Bounce',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/Event/DAO/Confirm.php b/civicrm/CRM/Mailing/Event/DAO/Confirm.php
index 51f90ce2f0..7d784b902b 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Confirm.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Confirm.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Confirm.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a7b8a7cbbffc3c2ad56f4a27a5fe0d47)
+ * (GenCodeChecksum:9e99bfa49af8367cb5d76abe738bdde4)
  */
 
 /**
@@ -88,6 +88,7 @@ class CRM_Mailing_Event_DAO_Confirm extends CRM_Core_DAO {
           'entity' => 'Confirm',
           'bao' => 'CRM_Mailing_Event_BAO_Confirm',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'event_subscribe_id' => [
           'name' => 'event_subscribe_id',
@@ -101,6 +102,7 @@ class CRM_Mailing_Event_DAO_Confirm extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_Confirm',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_Event_DAO_Subscribe',
+          'add' => NULL,
         ],
         'time_stamp' => [
           'name' => 'time_stamp',
@@ -114,6 +116,7 @@ class CRM_Mailing_Event_DAO_Confirm extends CRM_Core_DAO {
           'entity' => 'Confirm',
           'bao' => 'CRM_Mailing_Event_BAO_Confirm',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/Event/DAO/Delivered.php b/civicrm/CRM/Mailing/Event/DAO/Delivered.php
index 84304d2c44..e101d6a186 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Delivered.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Delivered.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Delivered.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:868d8d539be2f960708c791e77142cf7)
+ * (GenCodeChecksum:71067262cb4cbb239e3e48bdf5736426)
  */
 
 /**
@@ -88,6 +88,7 @@ class CRM_Mailing_Event_DAO_Delivered extends CRM_Core_DAO {
           'entity' => 'Delivered',
           'bao' => 'CRM_Mailing_Event_BAO_Delivered',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'event_queue_id' => [
           'name' => 'event_queue_id',
@@ -101,6 +102,7 @@ class CRM_Mailing_Event_DAO_Delivered extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_Delivered',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
+          'add' => NULL,
         ],
         'time_stamp' => [
           'name' => 'time_stamp',
@@ -114,6 +116,7 @@ class CRM_Mailing_Event_DAO_Delivered extends CRM_Core_DAO {
           'entity' => 'Delivered',
           'bao' => 'CRM_Mailing_Event_BAO_Delivered',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/Event/DAO/Forward.php b/civicrm/CRM/Mailing/Event/DAO/Forward.php
index 64758453c1..80cff654f6 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Forward.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Forward.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Forward.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2d80815845585711db7a4ceaa9d54187)
+ * (GenCodeChecksum:7e9fc468aa06574c95c2e85ec598a5aa)
  */
 
 /**
@@ -96,6 +96,7 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO {
           'entity' => 'Forward',
           'bao' => 'CRM_Mailing_Event_BAO_Forward',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'event_queue_id' => [
           'name' => 'event_queue_id',
@@ -109,6 +110,7 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_Forward',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
+          'add' => NULL,
         ],
         'dest_queue_id' => [
           'name' => 'dest_queue_id',
@@ -121,6 +123,7 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_Forward',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
+          'add' => NULL,
         ],
         'time_stamp' => [
           'name' => 'time_stamp',
@@ -134,6 +137,7 @@ class CRM_Mailing_Event_DAO_Forward extends CRM_Core_DAO {
           'entity' => 'Forward',
           'bao' => 'CRM_Mailing_Event_BAO_Forward',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/Event/DAO/Opened.php b/civicrm/CRM/Mailing/Event/DAO/Opened.php
index ece08f0027..75398d8bb5 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Opened.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Opened.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Opened.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1e7b766df9d29ea2c12eca943ce3c6d3)
+ * (GenCodeChecksum:8ccd44cc83346aacab2947005fe3ab4f)
  */
 
 /**
@@ -88,6 +88,7 @@ class CRM_Mailing_Event_DAO_Opened extends CRM_Core_DAO {
           'entity' => 'Opened',
           'bao' => 'CRM_Mailing_Event_BAO_Opened',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'event_queue_id' => [
           'name' => 'event_queue_id',
@@ -101,6 +102,7 @@ class CRM_Mailing_Event_DAO_Opened extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_Opened',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
+          'add' => NULL,
         ],
         'time_stamp' => [
           'name' => 'time_stamp',
@@ -114,6 +116,7 @@ class CRM_Mailing_Event_DAO_Opened extends CRM_Core_DAO {
           'entity' => 'Opened',
           'bao' => 'CRM_Mailing_Event_BAO_Opened',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/Event/DAO/Queue.php b/civicrm/CRM/Mailing/Event/DAO/Queue.php
index 0501531c2b..4ec2895b75 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Queue.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Queue.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Queue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c13b7d1f71aa2aaba32558fe215efb3c)
+ * (GenCodeChecksum:1ea4c6fc57b313fe415364ab68cb9ce2)
  */
 
 /**
@@ -112,6 +112,7 @@ class CRM_Mailing_Event_DAO_Queue extends CRM_Core_DAO {
           'entity' => 'Queue',
           'bao' => 'CRM_Mailing_Event_BAO_Queue',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'job_id' => [
           'name' => 'job_id',
@@ -125,6 +126,7 @@ class CRM_Mailing_Event_DAO_Queue extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_Queue',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_DAO_MailingJob',
+          'add' => NULL,
         ],
         'email_id' => [
           'name' => 'email_id',
@@ -138,6 +140,7 @@ class CRM_Mailing_Event_DAO_Queue extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_Queue',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Email',
+          'add' => NULL,
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -151,6 +154,7 @@ class CRM_Mailing_Event_DAO_Queue extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_Queue',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => NULL,
         ],
         'hash' => [
           'name' => 'hash',
@@ -165,6 +169,7 @@ class CRM_Mailing_Event_DAO_Queue extends CRM_Core_DAO {
           'entity' => 'Queue',
           'bao' => 'CRM_Mailing_Event_BAO_Queue',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'phone_id' => [
           'name' => 'phone_id',
@@ -178,6 +183,7 @@ class CRM_Mailing_Event_DAO_Queue extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_Queue',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Phone',
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/Event/DAO/Reply.php b/civicrm/CRM/Mailing/Event/DAO/Reply.php
index 3a1d8f0691..657649267f 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Reply.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Reply.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Reply.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bb0b422177a50b7c27241338317f4f77)
+ * (GenCodeChecksum:2c637c8a7a3e72c6330912e89405af67)
  */
 
 /**
@@ -88,6 +88,7 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO {
           'entity' => 'Reply',
           'bao' => 'CRM_Mailing_Event_BAO_Reply',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'event_queue_id' => [
           'name' => 'event_queue_id',
@@ -101,6 +102,7 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_Reply',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
+          'add' => NULL,
         ],
         'time_stamp' => [
           'name' => 'time_stamp',
@@ -114,6 +116,7 @@ class CRM_Mailing_Event_DAO_Reply extends CRM_Core_DAO {
           'entity' => 'Reply',
           'bao' => 'CRM_Mailing_Event_BAO_Reply',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/Event/DAO/Subscribe.php b/civicrm/CRM/Mailing/Event/DAO/Subscribe.php
index 3a9069b0b3..bc266a70ca 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Subscribe.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Subscribe.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Subscribe.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f6605e240579a1d1911cd7fa1fa535df)
+ * (GenCodeChecksum:d3ef623d60425885e58e31eabdf573df)
  */
 
 /**
@@ -103,6 +103,7 @@ class CRM_Mailing_Event_DAO_Subscribe extends CRM_Core_DAO {
           'entity' => 'Subscribe',
           'bao' => 'CRM_Mailing_Event_BAO_Subscribe',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'group_id' => [
           'name' => 'group_id',
@@ -124,6 +125,7 @@ class CRM_Mailing_Event_DAO_Subscribe extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => NULL,
         ],
         'contact_id' => [
           'name' => 'contact_id',
@@ -137,6 +139,7 @@ class CRM_Mailing_Event_DAO_Subscribe extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_Subscribe',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => NULL,
         ],
         'hash' => [
           'name' => 'hash',
@@ -151,6 +154,7 @@ class CRM_Mailing_Event_DAO_Subscribe extends CRM_Core_DAO {
           'entity' => 'Subscribe',
           'bao' => 'CRM_Mailing_Event_BAO_Subscribe',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'time_stamp' => [
           'name' => 'time_stamp',
@@ -164,6 +168,7 @@ class CRM_Mailing_Event_DAO_Subscribe extends CRM_Core_DAO {
           'entity' => 'Subscribe',
           'bao' => 'CRM_Mailing_Event_BAO_Subscribe',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/Event/DAO/TrackableURLOpen.php b/civicrm/CRM/Mailing/Event/DAO/TrackableURLOpen.php
index 72a07fbb40..d113370e85 100644
--- a/civicrm/CRM/Mailing/Event/DAO/TrackableURLOpen.php
+++ b/civicrm/CRM/Mailing/Event/DAO/TrackableURLOpen.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/TrackableURLOpen.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e3972b32e62b53916079913b418785d9)
+ * (GenCodeChecksum:01ad142f289c3cf9ff8b9c182e7198aa)
  */
 
 /**
@@ -96,6 +96,7 @@ class CRM_Mailing_Event_DAO_TrackableURLOpen extends CRM_Core_DAO {
           'entity' => 'TrackableURLOpen',
           'bao' => 'CRM_Mailing_Event_BAO_TrackableURLOpen',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'event_queue_id' => [
           'name' => 'event_queue_id',
@@ -109,6 +110,7 @@ class CRM_Mailing_Event_DAO_TrackableURLOpen extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_TrackableURLOpen',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
+          'add' => NULL,
         ],
         'trackable_url_id' => [
           'name' => 'trackable_url_id',
@@ -122,6 +124,7 @@ class CRM_Mailing_Event_DAO_TrackableURLOpen extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_TrackableURLOpen',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_DAO_TrackableURL',
+          'add' => NULL,
         ],
         'time_stamp' => [
           'name' => 'time_stamp',
@@ -135,6 +138,7 @@ class CRM_Mailing_Event_DAO_TrackableURLOpen extends CRM_Core_DAO {
           'entity' => 'TrackableURLOpen',
           'bao' => 'CRM_Mailing_Event_BAO_TrackableURLOpen',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Mailing/Event/DAO/Unsubscribe.php b/civicrm/CRM/Mailing/Event/DAO/Unsubscribe.php
index 2e13adc781..365d809e3c 100644
--- a/civicrm/CRM/Mailing/Event/DAO/Unsubscribe.php
+++ b/civicrm/CRM/Mailing/Event/DAO/Unsubscribe.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/Event/Unsubscribe.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b94d81304a2444e6200faad7c2703a87)
+ * (GenCodeChecksum:691d1ae502930d1575931a248c3878f9)
  */
 
 /**
@@ -95,6 +95,7 @@ class CRM_Mailing_Event_DAO_Unsubscribe extends CRM_Core_DAO {
           'entity' => 'Unsubscribe',
           'bao' => 'CRM_Mailing_Event_BAO_Unsubscribe',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'event_queue_id' => [
           'name' => 'event_queue_id',
@@ -108,6 +109,7 @@ class CRM_Mailing_Event_DAO_Unsubscribe extends CRM_Core_DAO {
           'bao' => 'CRM_Mailing_Event_BAO_Unsubscribe',
           'localizable' => 0,
           'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
+          'add' => NULL,
         ],
         'org_unsubscribe' => [
           'name' => 'org_unsubscribe',
@@ -120,6 +122,7 @@ class CRM_Mailing_Event_DAO_Unsubscribe extends CRM_Core_DAO {
           'entity' => 'Unsubscribe',
           'bao' => 'CRM_Mailing_Event_BAO_Unsubscribe',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'time_stamp' => [
           'name' => 'time_stamp',
@@ -133,6 +136,7 @@ class CRM_Mailing_Event_DAO_Unsubscribe extends CRM_Core_DAO {
           'entity' => 'Unsubscribe',
           'bao' => 'CRM_Mailing_Event_BAO_Unsubscribe',
           'localizable' => 0,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Member/DAO/Membership.php b/civicrm/CRM/Member/DAO/Membership.php
index 24582838d3..57160484d2 100644
--- a/civicrm/CRM/Member/DAO/Membership.php
+++ b/civicrm/CRM/Member/DAO/Membership.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/Membership.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8a676a436711b85a6c7228e6566a12fc)
+ * (GenCodeChecksum:1cbe517a16a7e74e9997e351f52460c2)
  */
 
 /**
@@ -184,6 +184,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
           'entity' => 'Membership',
           'bao' => 'CRM_Member_BAO_Membership',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'membership_contact_id' => [
           'name' => 'contact_id',
@@ -204,6 +205,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '1.5',
         ],
         'membership_type_id' => [
           'name' => 'membership_type_id',
@@ -229,6 +231,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '1.5',
         ],
         'membership_join_date' => [
           'name' => 'join_date',
@@ -248,6 +251,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.5',
         ],
         'membership_start_date' => [
           'name' => 'start_date',
@@ -267,6 +271,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.5',
         ],
         'membership_end_date' => [
           'name' => 'end_date',
@@ -286,6 +291,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '1.5',
         ],
         'membership_source' => [
           'name' => 'source',
@@ -304,6 +310,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.5',
         ],
         'status_id' => [
           'name' => 'status_id',
@@ -328,6 +335,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'label',
           ],
+          'add' => '1.5',
         ],
         'member_is_override' => [
           'name' => 'is_override',
@@ -345,6 +353,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.5',
         ],
         'status_override_end_date' => [
           'name' => 'status_override_end_date',
@@ -362,6 +371,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select Date',
           ],
+          'add' => '4.7',
         ],
         'owner_membership_id' => [
           'name' => 'owner_membership_id',
@@ -375,6 +385,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_Membership',
           'localizable' => 0,
           'FKClassName' => 'CRM_Member_DAO_Membership',
+          'add' => '1.7',
         ],
         'max_related' => [
           'name' => 'max_related',
@@ -390,6 +401,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.3',
         ],
         'member_is_test' => [
           'name' => 'is_test',
@@ -407,6 +419,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => NULL,
         ],
         'member_is_pay_later' => [
           'name' => 'is_pay_later',
@@ -424,6 +437,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.1',
         ],
         'membership_recur_id' => [
           'name' => 'contribution_recur_id',
@@ -437,6 +451,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_Membership',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_ContributionRecur',
+          'add' => '3.3',
         ],
         'member_campaign_id' => [
           'name' => 'campaign_id',
@@ -459,6 +474,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '3.4',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Member/DAO/MembershipBlock.php b/civicrm/CRM/Member/DAO/MembershipBlock.php
index 7d1b12db5a..a7ea683103 100644
--- a/civicrm/CRM/Member/DAO/MembershipBlock.php
+++ b/civicrm/CRM/Member/DAO/MembershipBlock.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:09fae8131ecad39069914c10f9f7ccf4)
+ * (GenCodeChecksum:5ff932a7b732b4d8b691f53bb4fc4a86)
  */
 
 /**
@@ -162,6 +162,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO {
           'entity' => 'MembershipBlock',
           'bao' => 'CRM_Member_BAO_MembershipBlock',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -175,6 +176,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO {
           'entity' => 'MembershipBlock',
           'bao' => 'CRM_Member_BAO_MembershipBlock',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -188,6 +190,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_MembershipBlock',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
+          'add' => '1.5',
         ],
         'membership_types' => [
           'name' => 'membership_types',
@@ -202,6 +205,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_MembershipBlock',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_PHP,
+          'add' => '1.5',
         ],
         'membership_type_default' => [
           'name' => 'membership_type_default',
@@ -214,6 +218,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_MembershipBlock',
           'localizable' => 0,
           'FKClassName' => 'CRM_Member_DAO_MembershipType',
+          'add' => '1.5',
         ],
         'display_min_fee' => [
           'name' => 'display_min_fee',
@@ -226,6 +231,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO {
           'entity' => 'MembershipBlock',
           'bao' => 'CRM_Member_BAO_MembershipBlock',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'is_separate_payment' => [
           'name' => 'is_separate_payment',
@@ -238,6 +244,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO {
           'entity' => 'MembershipBlock',
           'bao' => 'CRM_Member_BAO_MembershipBlock',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'new_title' => [
           'name' => 'new_title',
@@ -251,6 +258,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO {
           'entity' => 'MembershipBlock',
           'bao' => 'CRM_Member_BAO_MembershipBlock',
           'localizable' => 1,
+          'add' => '1.5',
         ],
         'new_text' => [
           'name' => 'new_text',
@@ -262,6 +270,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO {
           'entity' => 'MembershipBlock',
           'bao' => 'CRM_Member_BAO_MembershipBlock',
           'localizable' => 1,
+          'add' => '1.5',
         ],
         'renewal_title' => [
           'name' => 'renewal_title',
@@ -275,6 +284,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO {
           'entity' => 'MembershipBlock',
           'bao' => 'CRM_Member_BAO_MembershipBlock',
           'localizable' => 1,
+          'add' => '1.5',
         ],
         'renewal_text' => [
           'name' => 'renewal_text',
@@ -286,6 +296,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO {
           'entity' => 'MembershipBlock',
           'bao' => 'CRM_Member_BAO_MembershipBlock',
           'localizable' => 1,
+          'add' => '1.5',
         ],
         'is_required' => [
           'name' => 'is_required',
@@ -298,6 +309,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO {
           'entity' => 'MembershipBlock',
           'bao' => 'CRM_Member_BAO_MembershipBlock',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -310,6 +322,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO {
           'entity' => 'MembershipBlock',
           'bao' => 'CRM_Member_BAO_MembershipBlock',
           'localizable' => 0,
+          'add' => '1.5',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Member/DAO/MembershipLog.php b/civicrm/CRM/Member/DAO/MembershipLog.php
index 8400057831..466067d843 100644
--- a/civicrm/CRM/Member/DAO/MembershipLog.php
+++ b/civicrm/CRM/Member/DAO/MembershipLog.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:68b899f9c0d2eabcc19b070cb6d92a25)
+ * (GenCodeChecksum:858083dbe496612b1ff57fed14dbdef9)
  */
 
 /**
@@ -133,6 +133,7 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO {
           'entity' => 'MembershipLog',
           'bao' => 'CRM_Member_BAO_MembershipLog',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'membership_id' => [
           'name' => 'membership_id',
@@ -146,6 +147,7 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_MembershipLog',
           'localizable' => 0,
           'FKClassName' => 'CRM_Member_DAO_Membership',
+          'add' => '1.5',
         ],
         'status_id' => [
           'name' => 'status_id',
@@ -159,6 +161,7 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_MembershipLog',
           'localizable' => 0,
           'FKClassName' => 'CRM_Member_DAO_MembershipStatus',
+          'add' => '1.5',
         ],
         'start_date' => [
           'name' => 'start_date',
@@ -171,6 +174,7 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO {
           'entity' => 'MembershipLog',
           'bao' => 'CRM_Member_BAO_MembershipLog',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'end_date' => [
           'name' => 'end_date',
@@ -183,6 +187,7 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO {
           'entity' => 'MembershipLog',
           'bao' => 'CRM_Member_BAO_MembershipLog',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'modified_id' => [
           'name' => 'modified_id',
@@ -195,6 +200,7 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_MembershipLog',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '1.5',
         ],
         'modified_date' => [
           'name' => 'modified_date',
@@ -207,6 +213,7 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO {
           'entity' => 'MembershipLog',
           'bao' => 'CRM_Member_BAO_MembershipLog',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'membership_type_id' => [
           'name' => 'membership_type_id',
@@ -219,6 +226,7 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_MembershipLog',
           'localizable' => 0,
           'FKClassName' => 'CRM_Member_DAO_MembershipType',
+          'add' => '3.4',
         ],
         'max_related' => [
           'name' => 'max_related',
@@ -230,6 +238,7 @@ class CRM_Member_DAO_MembershipLog extends CRM_Core_DAO {
           'entity' => 'MembershipLog',
           'bao' => 'CRM_Member_BAO_MembershipLog',
           'localizable' => 0,
+          'add' => '4.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Member/DAO/MembershipPayment.php b/civicrm/CRM/Member/DAO/MembershipPayment.php
index da5f31561e..d501026fde 100644
--- a/civicrm/CRM/Member/DAO/MembershipPayment.php
+++ b/civicrm/CRM/Member/DAO/MembershipPayment.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipPayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4bff4dffec3c3a766c34f49eb96ece19)
+ * (GenCodeChecksum:4a251affafac26bcf91a4f7fabc9bdc0)
  */
 
 /**
@@ -89,6 +89,7 @@ class CRM_Member_DAO_MembershipPayment extends CRM_Core_DAO {
           'entity' => 'MembershipPayment',
           'bao' => 'CRM_Member_BAO_MembershipPayment',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'membership_id' => [
           'name' => 'membership_id',
@@ -102,6 +103,7 @@ class CRM_Member_DAO_MembershipPayment extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_MembershipPayment',
           'localizable' => 0,
           'FKClassName' => 'CRM_Member_DAO_Membership',
+          'add' => '1.5',
         ],
         'contribution_id' => [
           'name' => 'contribution_id',
@@ -114,6 +116,7 @@ class CRM_Member_DAO_MembershipPayment extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_MembershipPayment',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+          'add' => '2.0',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Member/DAO/MembershipStatus.php b/civicrm/CRM/Member/DAO/MembershipStatus.php
index 0a4a53ea1d..56ad67081a 100644
--- a/civicrm/CRM/Member/DAO/MembershipStatus.php
+++ b/civicrm/CRM/Member/DAO/MembershipStatus.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipStatus.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:37fdd036d0cc453eeb5cbfa14b7b27d2)
+ * (GenCodeChecksum:935934546722b83da3be04b4d4024886)
  */
 
 /**
@@ -158,6 +158,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'entity' => 'MembershipStatus',
           'bao' => 'CRM_Member_BAO_MembershipStatus',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'membership_status' => [
           'name' => 'name',
@@ -173,6 +174,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'entity' => 'MembershipStatus',
           'bao' => 'CRM_Member_BAO_MembershipStatus',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'label' => [
           'name' => 'label',
@@ -189,6 +191,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.2',
         ],
         'start_event' => [
           'name' => 'start_event',
@@ -208,6 +211,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::eventDate',
           ],
+          'add' => '1.5',
         ],
         'start_event_adjust_unit' => [
           'name' => 'start_event_adjust_unit',
@@ -227,6 +231,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::unitList',
           ],
+          'add' => '1.5',
         ],
         'start_event_adjust_interval' => [
           'name' => 'start_event_adjust_interval',
@@ -238,6 +243,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'entity' => 'MembershipStatus',
           'bao' => 'CRM_Member_BAO_MembershipStatus',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'end_event' => [
           'name' => 'end_event',
@@ -257,6 +263,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::eventDate',
           ],
+          'add' => '1.5',
         ],
         'end_event_adjust_unit' => [
           'name' => 'end_event_adjust_unit',
@@ -276,6 +283,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::unitList',
           ],
+          'add' => '1.5',
         ],
         'end_event_adjust_interval' => [
           'name' => 'end_event_adjust_interval',
@@ -287,6 +295,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'entity' => 'MembershipStatus',
           'bao' => 'CRM_Member_BAO_MembershipStatus',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'is_current_member' => [
           'name' => 'is_current_member',
@@ -298,6 +307,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'entity' => 'MembershipStatus',
           'bao' => 'CRM_Member_BAO_MembershipStatus',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'is_admin' => [
           'name' => 'is_admin',
@@ -312,6 +322,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.5',
         ],
         'weight' => [
           'name' => 'weight',
@@ -322,6 +333,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'entity' => 'MembershipStatus',
           'bao' => 'CRM_Member_BAO_MembershipStatus',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -336,6 +348,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.5',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -351,6 +364,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.5',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -366,6 +380,7 @@ class CRM_Member_DAO_MembershipStatus extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Member/DAO/MembershipType.php b/civicrm/CRM/Member/DAO/MembershipType.php
index 9e51fd1fcc..2895f4c28d 100644
--- a/civicrm/CRM/Member/DAO/MembershipType.php
+++ b/civicrm/CRM/Member/DAO/MembershipType.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Member/MembershipType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c75161ef1844cf9a3977d458f0cb515b)
+ * (GenCodeChecksum:e4edc28d946143ba4a9b3ad701d50438)
  */
 
 /**
@@ -213,6 +213,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'entity' => 'MembershipType',
           'bao' => 'CRM_Member_BAO_MembershipType',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -231,6 +232,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.0',
         ],
         'membership_type' => [
           'name' => 'name',
@@ -251,6 +253,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
             'type' => 'Text',
             'label' => ts("Name"),
           ],
+          'add' => '1.5',
         ],
         'description' => [
           'name' => 'description',
@@ -268,6 +271,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
             'type' => 'TextArea',
             'label' => ts("Description"),
           ],
+          'add' => '1.5',
         ],
         'member_of_contact_id' => [
           'name' => 'member_of_contact_id',
@@ -281,6 +285,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_MembershipType',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '1.5',
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -299,6 +304,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'minimum_fee' => [
           'name' => 'minimum_fee',
@@ -319,6 +325,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
             'type' => 'Text',
             'label' => ts("Minimum Fee"),
           ],
+          'add' => '1.5',
         ],
         'duration_unit' => [
           'name' => 'duration_unit',
@@ -338,6 +345,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::membershipTypeUnitList',
           ],
+          'add' => '1.5',
         ],
         'duration_interval' => [
           'name' => 'duration_interval',
@@ -352,6 +360,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.5',
         ],
         'period_type' => [
           'name' => 'period_type',
@@ -371,6 +380,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::periodType',
           ],
+          'add' => '1.5',
         ],
         'fixed_period_start_day' => [
           'name' => 'fixed_period_start_day',
@@ -382,6 +392,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'entity' => 'MembershipType',
           'bao' => 'CRM_Member_BAO_MembershipType',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'fixed_period_rollover_day' => [
           'name' => 'fixed_period_rollover_day',
@@ -393,6 +404,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'entity' => 'MembershipType',
           'bao' => 'CRM_Member_BAO_MembershipType',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'relationship_type_id' => [
           'name' => 'relationship_type_id',
@@ -407,6 +419,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_MembershipType',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_SEPARATOR_TRIMMED,
+          'add' => '1.5',
         ],
         'relationship_direction' => [
           'name' => 'relationship_direction',
@@ -420,6 +433,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'bao' => 'CRM_Member_BAO_MembershipType',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_SEPARATOR_TRIMMED,
+          'add' => '1.7',
         ],
         'max_related' => [
           'name' => 'max_related',
@@ -435,6 +449,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
             'type' => 'Text',
             'label' => ts("Max Related"),
           ],
+          'add' => '4.3',
         ],
         'visibility' => [
           'name' => 'visibility',
@@ -453,6 +468,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::memberVisibility',
           ],
+          'add' => '1.5',
         ],
         'weight' => [
           'name' => 'weight',
@@ -466,6 +482,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.5',
         ],
         'receipt_text_signup' => [
           'name' => 'receipt_text_signup',
@@ -482,6 +499,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '2.0',
         ],
         'receipt_text_renewal' => [
           'name' => 'receipt_text_renewal',
@@ -498,6 +516,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '2.0',
         ],
         'auto_renew' => [
           'name' => 'auto_renew',
@@ -516,6 +535,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Core_SelectValues::memberAutoRenew',
           ],
+          'add' => '3.3',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -532,6 +552,7 @@ class CRM_Member_DAO_MembershipType extends CRM_Core_DAO {
             'type' => 'CheckBox',
             'label' => ts("Enabled?"),
           ],
+          'add' => '1.5',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/PCP/DAO/PCP.php b/civicrm/CRM/PCP/DAO/PCP.php
index b67f820548..c2c5c94d43 100644
--- a/civicrm/CRM/PCP/DAO/PCP.php
+++ b/civicrm/CRM/PCP/DAO/PCP.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/PCP/PCP.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c12e9747f9f51dba37cbb4dc80fb36ef)
+ * (GenCodeChecksum:360ac2bedc4d9fe6674640c2fcdc07f3)
  */
 
 /**
@@ -168,6 +168,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'entity' => 'PCP',
           'bao' => 'CRM_PCP_BAO_PCP',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'pcp_contact_id' => [
           'name' => 'contact_id',
@@ -184,6 +185,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '2.2',
         ],
         'status_id' => [
           'name' => 'status_id',
@@ -202,6 +204,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
             'optionGroupName' => 'pcp_status',
             'optionEditPath' => 'civicrm/admin/options/pcp_status',
           ],
+          'add' => '2.2',
         ],
         'title' => [
           'name' => 'title',
@@ -218,6 +221,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'intro_text' => [
           'name' => 'intro_text',
@@ -232,6 +236,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '2.2',
         ],
         'page_text' => [
           'name' => 'page_text',
@@ -246,6 +251,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '2.2',
         ],
         'donate_link_text' => [
           'name' => 'donate_link_text',
@@ -262,6 +268,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'page_id' => [
           'name' => 'page_id',
@@ -274,6 +281,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'entity' => 'PCP',
           'bao' => 'CRM_PCP_BAO_PCP',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'page_type' => [
           'name' => 'page_type',
@@ -291,6 +299,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '2.2',
         ],
         'pcp_block_id' => [
           'name' => 'pcp_block_id',
@@ -303,6 +312,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'entity' => 'PCP',
           'bao' => 'CRM_PCP_BAO_PCP',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'is_thermometer' => [
           'name' => 'is_thermometer',
@@ -317,6 +327,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.2',
         ],
         'is_honor_roll' => [
           'name' => 'is_honor_roll',
@@ -331,6 +342,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.2',
         ],
         'goal_amount' => [
           'name' => 'goal_amount',
@@ -349,6 +361,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'currency' => [
           'name' => 'currency',
@@ -373,6 +386,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '3.2',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -388,6 +402,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.2',
         ],
         'is_notify' => [
           'name' => 'is_notify',
@@ -403,6 +418,7 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.6',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/PCP/DAO/PCPBlock.php b/civicrm/CRM/PCP/DAO/PCPBlock.php
index 6034545412..10a836b07e 100644
--- a/civicrm/CRM/PCP/DAO/PCPBlock.php
+++ b/civicrm/CRM/PCP/DAO/PCPBlock.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/PCP/PCPBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dd013e9f20918e34e96caa5728dd5047)
+ * (GenCodeChecksum:e04c6965f513c4c17e99d2c21e504971)
  */
 
 /**
@@ -161,6 +161,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO {
           'entity' => 'PCPBlock',
           'bao' => 'CRM_PCP_BAO_PCPBlock',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -173,6 +174,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO {
           'entity' => 'PCPBlock',
           'bao' => 'CRM_PCP_BAO_PCPBlock',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -185,6 +187,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO {
           'entity' => 'PCPBlock',
           'bao' => 'CRM_PCP_BAO_PCPBlock',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'target_entity_type' => [
           'name' => 'target_entity_type',
@@ -200,6 +203,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO {
           'entity' => 'PCPBlock',
           'bao' => 'CRM_PCP_BAO_PCPBlock',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'target_entity_id' => [
           'name' => 'target_entity_id',
@@ -212,6 +216,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO {
           'entity' => 'PCPBlock',
           'bao' => 'CRM_PCP_BAO_PCPBlock',
           'localizable' => 0,
+          'add' => '4.1',
         ],
         'supporter_profile_id' => [
           'name' => 'supporter_profile_id',
@@ -225,6 +230,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO {
           'bao' => 'CRM_PCP_BAO_PCPBlock',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_UFGroup',
+          'add' => '2.2',
         ],
         'owner_notify_id' => [
           'name' => 'owner_notify_id',
@@ -244,6 +250,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO {
             'optionGroupName' => 'pcp_owner_notify',
             'optionEditPath' => 'civicrm/admin/options/pcp_owner_notify',
           ],
+          'add' => '4.6',
         ],
         'is_approval_needed' => [
           'name' => 'is_approval_needed',
@@ -256,6 +263,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO {
           'entity' => 'PCPBlock',
           'bao' => 'CRM_PCP_BAO_PCPBlock',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'is_tellfriend_enabled' => [
           'name' => 'is_tellfriend_enabled',
@@ -268,6 +276,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO {
           'entity' => 'PCPBlock',
           'bao' => 'CRM_PCP_BAO_PCPBlock',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'tellfriend_limit' => [
           'name' => 'tellfriend_limit',
@@ -280,6 +289,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO {
           'entity' => 'PCPBlock',
           'bao' => 'CRM_PCP_BAO_PCPBlock',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'link_text' => [
           'name' => 'link_text',
@@ -294,6 +304,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO {
           'entity' => 'PCPBlock',
           'bao' => 'CRM_PCP_BAO_PCPBlock',
           'localizable' => 1,
+          'add' => '2.2',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -306,6 +317,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO {
           'entity' => 'PCPBlock',
           'bao' => 'CRM_PCP_BAO_PCPBlock',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'notify_email' => [
           'name' => 'notify_email',
@@ -320,6 +332,7 @@ class CRM_PCP_DAO_PCPBlock extends CRM_Core_DAO {
           'entity' => 'PCPBlock',
           'bao' => 'CRM_PCP_BAO_PCPBlock',
           'localizable' => 0,
+          'add' => '2.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Pledge/DAO/Pledge.php b/civicrm/CRM/Pledge/DAO/Pledge.php
index 52d159115a..ee8e5a28a1 100644
--- a/civicrm/CRM/Pledge/DAO/Pledge.php
+++ b/civicrm/CRM/Pledge/DAO/Pledge.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/Pledge.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:482a699f087b9ed0250d60f0663727f4)
+ * (GenCodeChecksum:e5cb1313595fed926631aaf83d8d3d0a)
  */
 
 /**
@@ -234,6 +234,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'entity' => 'Pledge',
           'bao' => 'CRM_Pledge_BAO_Pledge',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'pledge_contact_id' => [
           'name' => 'contact_id',
@@ -252,6 +253,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'EntityRef',
           ],
+          'add' => '2.1',
         ],
         'pledge_financial_type_id' => [
           'name' => 'financial_type_id',
@@ -272,6 +274,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'pledge_contribution_page_id' => [
           'name' => 'contribution_page_id',
@@ -284,6 +287,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'bao' => 'CRM_Pledge_BAO_Pledge',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
+          'add' => '2.1',
         ],
         'pledge_amount' => [
           'name' => 'amount',
@@ -305,6 +309,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.1',
         ],
         'pledge_original_installment_amount' => [
           'name' => 'original_installment_amount',
@@ -325,6 +330,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.2',
         ],
         'currency' => [
           'name' => 'currency',
@@ -349,6 +355,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '3.2',
         ],
         'pledge_frequency_unit' => [
           'name' => 'frequency_unit',
@@ -371,6 +378,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
             'keyColumn' => 'name',
             'optionEditPath' => 'civicrm/admin/options/recur_frequency_units',
           ],
+          'add' => '2.1',
         ],
         'pledge_frequency_interval' => [
           'name' => 'frequency_interval',
@@ -387,6 +395,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.1',
         ],
         'frequency_day' => [
           'name' => 'frequency_day',
@@ -403,6 +412,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '2.1',
         ],
         'installments' => [
           'name' => 'installments',
@@ -419,6 +429,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.1',
         ],
         'pledge_start_date' => [
           'name' => 'start_date',
@@ -436,6 +447,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select Date',
           ],
+          'add' => '2.1',
         ],
         'pledge_create_date' => [
           'name' => 'create_date',
@@ -453,6 +465,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select Date',
           ],
+          'add' => '2.1',
         ],
         'acknowledge_date' => [
           'name' => 'acknowledge_date',
@@ -467,6 +480,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select Date',
           ],
+          'add' => '2.1',
         ],
         'modified_date' => [
           'name' => 'modified_date',
@@ -478,6 +492,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'entity' => 'Pledge',
           'bao' => 'CRM_Pledge_BAO_Pledge',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'cancel_date' => [
           'name' => 'cancel_date',
@@ -492,6 +507,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select Date',
           ],
+          'add' => '2.1',
         ],
         'pledge_end_date' => [
           'name' => 'end_date',
@@ -508,6 +524,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select Date',
           ],
+          'add' => '2.1',
         ],
         'max_reminders' => [
           'name' => 'max_reminders',
@@ -523,6 +540,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.1',
         ],
         'initial_reminder_day' => [
           'name' => 'initial_reminder_day',
@@ -538,6 +556,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '2.1',
         ],
         'additional_reminder_day' => [
           'name' => 'additional_reminder_day',
@@ -553,6 +572,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.1',
         ],
         'pledge_status_id' => [
           'name' => 'status_id',
@@ -573,6 +593,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
             'optionGroupName' => 'pledge_status',
             'optionEditPath' => 'civicrm/admin/options/pledge_status',
           ],
+          'add' => '2.1',
         ],
         'pledge_is_test' => [
           'name' => 'is_test',
@@ -589,6 +610,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => NULL,
         ],
         'pledge_campaign_id' => [
           'name' => 'campaign_id',
@@ -611,6 +633,7 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '3.4',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Pledge/DAO/PledgeBlock.php b/civicrm/CRM/Pledge/DAO/PledgeBlock.php
index db14795b2a..c08ac76e11 100644
--- a/civicrm/CRM/Pledge/DAO/PledgeBlock.php
+++ b/civicrm/CRM/Pledge/DAO/PledgeBlock.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgeBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:748faa657d316e3de8124c5a1ecb7095)
+ * (GenCodeChecksum:322b270c5432e7f211c6929342c07b37)
  */
 
 /**
@@ -147,6 +147,7 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO {
           'entity' => 'PledgeBlock',
           'bao' => 'CRM_Pledge_BAO_PledgeBlock',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -160,6 +161,7 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO {
           'entity' => 'PledgeBlock',
           'bao' => 'CRM_Pledge_BAO_PledgeBlock',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -172,6 +174,7 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO {
           'entity' => 'PledgeBlock',
           'bao' => 'CRM_Pledge_BAO_PledgeBlock',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'pledge_frequency_unit' => [
           'name' => 'pledge_frequency_unit',
@@ -186,6 +189,7 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO {
           'bao' => 'CRM_Pledge_BAO_PledgeBlock',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_SEPARATOR_TRIMMED,
+          'add' => '2.1',
         ],
         'is_pledge_interval' => [
           'name' => 'is_pledge_interval',
@@ -198,6 +202,7 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO {
           'entity' => 'PledgeBlock',
           'bao' => 'CRM_Pledge_BAO_PledgeBlock',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'max_reminders' => [
           'name' => 'max_reminders',
@@ -210,6 +215,7 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO {
           'entity' => 'PledgeBlock',
           'bao' => 'CRM_Pledge_BAO_PledgeBlock',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'initial_reminder_day' => [
           'name' => 'initial_reminder_day',
@@ -222,6 +228,7 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO {
           'entity' => 'PledgeBlock',
           'bao' => 'CRM_Pledge_BAO_PledgeBlock',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'additional_reminder_day' => [
           'name' => 'additional_reminder_day',
@@ -234,6 +241,7 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO {
           'entity' => 'PledgeBlock',
           'bao' => 'CRM_Pledge_BAO_PledgeBlock',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'pledge_start_date' => [
           'name' => 'pledge_start_date',
@@ -247,6 +255,7 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO {
           'entity' => 'PledgeBlock',
           'bao' => 'CRM_Pledge_BAO_PledgeBlock',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'is_pledge_start_date_visible' => [
           'name' => 'is_pledge_start_date_visible',
@@ -260,6 +269,7 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO {
           'entity' => 'PledgeBlock',
           'bao' => 'CRM_Pledge_BAO_PledgeBlock',
           'localizable' => 0,
+          'add' => '4.7',
         ],
         'is_pledge_start_date_editable' => [
           'name' => 'is_pledge_start_date_editable',
@@ -273,6 +283,7 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO {
           'entity' => 'PledgeBlock',
           'bao' => 'CRM_Pledge_BAO_PledgeBlock',
           'localizable' => 0,
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Pledge/DAO/PledgePayment.php b/civicrm/CRM/Pledge/DAO/PledgePayment.php
index 8183490607..c996d897c2 100644
--- a/civicrm/CRM/Pledge/DAO/PledgePayment.php
+++ b/civicrm/CRM/Pledge/DAO/PledgePayment.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgePayment.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cfecdde34ba28e4860662441f0f234f5)
+ * (GenCodeChecksum:2007ba5fe37e373777858c55e30abb85)
  */
 
 /**
@@ -138,6 +138,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'entity' => 'PledgePayment',
           'bao' => 'CRM_Pledge_BAO_PledgePayment',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'pledge_id' => [
           'name' => 'pledge_id',
@@ -151,6 +152,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'bao' => 'CRM_Pledge_BAO_PledgePayment',
           'localizable' => 0,
           'FKClassName' => 'CRM_Pledge_DAO_Pledge',
+          'add' => '2.1',
         ],
         'contribution_id' => [
           'name' => 'contribution_id',
@@ -163,6 +165,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'bao' => 'CRM_Pledge_BAO_PledgePayment',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+          'add' => '2.1',
         ],
         'pledge_payment_scheduled_amount' => [
           'name' => 'scheduled_amount',
@@ -181,6 +184,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'entity' => 'PledgePayment',
           'bao' => 'CRM_Pledge_BAO_PledgePayment',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'pledge_payment_actual_amount' => [
           'name' => 'actual_amount',
@@ -198,6 +202,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'entity' => 'PledgePayment',
           'bao' => 'CRM_Pledge_BAO_PledgePayment',
           'localizable' => 0,
+          'add' => '3.2',
         ],
         'currency' => [
           'name' => 'currency',
@@ -222,6 +227,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
             'nameColumn' => 'name',
             'abbrColumn' => 'symbol',
           ],
+          'add' => '3.2',
         ],
         'pledge_payment_scheduled_date' => [
           'name' => 'scheduled_date',
@@ -241,6 +247,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDate',
           ],
+          'add' => '2.1',
         ],
         'pledge_payment_reminder_date' => [
           'name' => 'reminder_date',
@@ -254,6 +261,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'entity' => 'PledgePayment',
           'bao' => 'CRM_Pledge_BAO_PledgePayment',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'pledge_payment_reminder_count' => [
           'name' => 'reminder_count',
@@ -268,6 +276,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
           'entity' => 'PledgePayment',
           'bao' => 'CRM_Pledge_BAO_PledgePayment',
           'localizable' => 0,
+          'add' => '2.1',
         ],
         'pledge_payment_status_id' => [
           'name' => 'status_id',
@@ -284,6 +293,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO {
             'optionGroupName' => 'contribution_status',
             'optionEditPath' => 'civicrm/admin/options/contribution_status',
           ],
+          'add' => '2.1',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Price/DAO/LineItem.php b/civicrm/CRM/Price/DAO/LineItem.php
index bd41cfae79..c44147a8fc 100644
--- a/civicrm/CRM/Price/DAO/LineItem.php
+++ b/civicrm/CRM/Price/DAO/LineItem.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/LineItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6a272dce6bb5be6d82e1da572bfd4189)
+ * (GenCodeChecksum:9438c70c88d9fad6c6bc0a1c0d88fb48)
  */
 
 /**
@@ -172,6 +172,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'entity' => 'LineItem',
           'bao' => 'CRM_Price_BAO_LineItem',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -186,6 +187,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'entity' => 'LineItem',
           'bao' => 'CRM_Price_BAO_LineItem',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -198,6 +200,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'entity' => 'LineItem',
           'bao' => 'CRM_Price_BAO_LineItem',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'contribution_id' => [
           'name' => 'contribution_id',
@@ -210,6 +213,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'bao' => 'CRM_Price_BAO_LineItem',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_Contribution',
+          'add' => '4.5',
         ],
         'price_field_id' => [
           'name' => 'price_field_id',
@@ -222,6 +226,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'bao' => 'CRM_Price_BAO_LineItem',
           'localizable' => 0,
           'FKClassName' => 'CRM_Price_DAO_PriceField',
+          'add' => '1.7',
         ],
         'label' => [
           'name' => 'label',
@@ -239,6 +244,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'qty' => [
           'name' => 'qty',
@@ -258,6 +264,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'unit_price' => [
           'name' => 'unit_price',
@@ -277,6 +284,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.7',
         ],
         'line_total' => [
           'name' => 'line_total',
@@ -293,6 +301,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'entity' => 'LineItem',
           'bao' => 'CRM_Price_BAO_LineItem',
           'localizable' => 0,
+          'add' => '1.7',
         ],
         'participant_count' => [
           'name' => 'participant_count',
@@ -308,6 +317,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.2',
         ],
         'price_field_value_id' => [
           'name' => 'price_field_value_id',
@@ -321,6 +331,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'bao' => 'CRM_Price_BAO_LineItem',
           'localizable' => 0,
           'FKClassName' => 'CRM_Price_DAO_PriceFieldValue',
+          'add' => '3.3',
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -342,6 +353,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'non_deductible_amount' => [
           'name' => 'non_deductible_amount',
@@ -364,6 +376,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.7',
         ],
         'tax_amount' => [
           'name' => 'tax_amount',
@@ -386,6 +399,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.6',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Price/DAO/PriceField.php b/civicrm/CRM/Price/DAO/PriceField.php
index 987ae6614f..46ce183e14 100644
--- a/civicrm/CRM/Price/DAO/PriceField.php
+++ b/civicrm/CRM/Price/DAO/PriceField.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:691cc70f15386dd0c2cd4ab63f9798af)
+ * (GenCodeChecksum:b740a71018aacb367816617d3bd70abf)
  */
 
 /**
@@ -187,6 +187,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'price_set_id' => [
           'name' => 'price_set_id',
@@ -206,6 +207,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
             'labelColumn' => 'title',
             'nameColumn' => 'name',
           ],
+          'add' => '1.8',
         ],
         'name' => [
           'name' => 'name',
@@ -223,6 +225,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'label' => [
           'name' => 'label',
@@ -240,6 +243,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'html_type' => [
           'name' => 'html_type',
@@ -259,6 +263,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Price_BAO_PriceField::htmlTypes',
           ],
+          'add' => '1.8',
         ],
         'is_enter_qty' => [
           'name' => 'is_enter_qty',
@@ -274,6 +279,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.8',
         ],
         'help_pre' => [
           'name' => 'help_pre',
@@ -290,6 +296,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.8',
         ],
         'help_post' => [
           'name' => 'help_post',
@@ -306,6 +313,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.8',
         ],
         'weight' => [
           'name' => 'weight',
@@ -321,6 +329,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '1.8',
         ],
         'is_display_amounts' => [
           'name' => 'is_display_amounts',
@@ -336,6 +345,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => NULL,
         ],
         'options_per_line' => [
           'name' => 'options_per_line',
@@ -351,6 +361,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -366,6 +377,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.8',
         ],
         'is_required' => [
           'name' => 'is_required',
@@ -381,6 +393,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.8',
         ],
         'active_on' => [
           'name' => 'active_on',
@@ -397,6 +410,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.8',
         ],
         'expire_on' => [
           'name' => 'expire_on',
@@ -413,6 +427,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.8',
         ],
         'javascript' => [
           'name' => 'javascript',
@@ -429,6 +444,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'visibility_id' => [
           'name' => 'visibility_id',
@@ -448,6 +464,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
             'optionGroupName' => 'visibility',
             'optionEditPath' => 'civicrm/admin/options/visibility',
           ],
+          'add' => '3.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Price/DAO/PriceFieldValue.php b/civicrm/CRM/Price/DAO/PriceFieldValue.php
index 058ddf7a6f..fcb0bdd802 100644
--- a/civicrm/CRM/Price/DAO/PriceFieldValue.php
+++ b/civicrm/CRM/Price/DAO/PriceFieldValue.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceFieldValue.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:47c904125e3421dde14b5fcd9b8a6f16)
+ * (GenCodeChecksum:e8fea47d461f49c72cfecdbb8f3e5bd4)
  */
 
 /**
@@ -198,6 +198,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'entity' => 'PriceFieldValue',
           'bao' => 'CRM_Price_BAO_PriceFieldValue',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'price_field_id' => [
           'name' => 'price_field_id',
@@ -211,6 +212,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'bao' => 'CRM_Price_BAO_PriceFieldValue',
           'localizable' => 0,
           'FKClassName' => 'CRM_Price_DAO_PriceField',
+          'add' => '3.3',
         ],
         'name' => [
           'name' => 'name',
@@ -228,6 +230,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.3',
         ],
         'label' => [
           'name' => 'label',
@@ -245,6 +248,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.3',
         ],
         'description' => [
           'name' => 'description',
@@ -262,6 +266,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '3.3',
         ],
         'help_pre' => [
           'name' => 'help_pre',
@@ -279,6 +284,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '4.7',
         ],
         'help_post' => [
           'name' => 'help_post',
@@ -296,6 +302,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '4.7',
         ],
         'amount' => [
           'name' => 'amount',
@@ -315,6 +322,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.3',
         ],
         'count' => [
           'name' => 'count',
@@ -330,6 +338,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.3',
         ],
         'max_value' => [
           'name' => 'max_value',
@@ -345,6 +354,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.3',
         ],
         'weight' => [
           'name' => 'weight',
@@ -360,6 +370,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.3',
         ],
         'membership_type_id' => [
           'name' => 'membership_type_id',
@@ -376,6 +387,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '3.4',
         ],
         'membership_num_terms' => [
           'name' => 'membership_num_terms',
@@ -391,6 +403,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.3',
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -406,6 +419,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '3.3',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -418,6 +432,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'entity' => 'PriceFieldValue',
           'bao' => 'CRM_Price_BAO_PriceFieldValue',
           'localizable' => 0,
+          'add' => '3.3',
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -439,6 +454,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'non_deductible_amount' => [
           'name' => 'non_deductible_amount',
@@ -461,6 +477,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.7',
         ],
         'visibility_id' => [
           'name' => 'visibility_id',
@@ -480,6 +497,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
             'optionGroupName' => 'visibility',
             'optionEditPath' => 'civicrm/admin/options/visibility',
           ],
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Price/DAO/PriceSet.php b/civicrm/CRM/Price/DAO/PriceSet.php
index c7bfebc251..d2abf17691 100644
--- a/civicrm/CRM/Price/DAO/PriceSet.php
+++ b/civicrm/CRM/Price/DAO/PriceSet.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceSet.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1d3d7fd9d32dd7cd257c4f5a7468db29)
+ * (GenCodeChecksum:8a4b6c5ca727fd89ddc0bbe9450f74e0)
  */
 
 /**
@@ -165,6 +165,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '1.8',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -185,6 +186,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.1',
         ],
         'name' => [
           'name' => 'name',
@@ -202,6 +204,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'title' => [
           'name' => 'title',
@@ -219,6 +222,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -234,6 +238,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.8',
         ],
         'help_pre' => [
           'name' => 'help_pre',
@@ -250,6 +255,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.8',
         ],
         'help_post' => [
           'name' => 'help_post',
@@ -266,6 +272,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.8',
         ],
         'javascript' => [
           'name' => 'javascript',
@@ -282,6 +289,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'extends' => [
           'name' => 'extends',
@@ -304,6 +312,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.1',
         ],
         'financial_type_id' => [
           'name' => 'financial_type_id',
@@ -325,6 +334,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.3',
         ],
         'is_quick_config' => [
           'name' => 'is_quick_config',
@@ -340,6 +350,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.1',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -355,6 +366,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.2',
         ],
         'min_amount' => [
           'name' => 'min_amount',
@@ -370,6 +382,7 @@ class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Price/DAO/PriceSetEntity.php b/civicrm/CRM/Price/DAO/PriceSetEntity.php
index c45d349727..69756dee7b 100644
--- a/civicrm/CRM/Price/DAO/PriceSetEntity.php
+++ b/civicrm/CRM/Price/DAO/PriceSetEntity.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceSetEntity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a4fdcc0f0c59179ec6ef07fd1cd87537)
+ * (GenCodeChecksum:fdfd59f0c7a516382e6ae5c7bbdc181b)
  */
 
 /**
@@ -99,6 +99,7 @@ class CRM_Price_DAO_PriceSetEntity extends CRM_Core_DAO {
           'entity' => 'PriceSetEntity',
           'bao' => 'CRM_Price_DAO_PriceSetEntity',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'entity_table' => [
           'name' => 'entity_table',
@@ -113,6 +114,7 @@ class CRM_Price_DAO_PriceSetEntity extends CRM_Core_DAO {
           'entity' => 'PriceSetEntity',
           'bao' => 'CRM_Price_DAO_PriceSetEntity',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'entity_id' => [
           'name' => 'entity_id',
@@ -125,6 +127,7 @@ class CRM_Price_DAO_PriceSetEntity extends CRM_Core_DAO {
           'entity' => 'PriceSetEntity',
           'bao' => 'CRM_Price_DAO_PriceSetEntity',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'price_set_id' => [
           'name' => 'price_set_id',
@@ -143,6 +146,7 @@ class CRM_Price_DAO_PriceSetEntity extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'title',
           ],
+          'add' => '1.8',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Queue/DAO/QueueItem.php b/civicrm/CRM/Queue/DAO/QueueItem.php
index 935b3b8578..a20e968e62 100644
--- a/civicrm/CRM/Queue/DAO/QueueItem.php
+++ b/civicrm/CRM/Queue/DAO/QueueItem.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Queue/QueueItem.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2a3cbbf88c75557fad0418a96b051160)
+ * (GenCodeChecksum:a11ee75685201c0305a6359b54421122)
  */
 
 /**
@@ -92,6 +92,7 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO {
           'entity' => 'QueueItem',
           'bao' => 'CRM_Queue_BAO_QueueItem',
           'localizable' => 0,
+          'add' => NULL,
         ],
         'queue_name' => [
           'name' => 'queue_name',
@@ -109,6 +110,7 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => NULL,
         ],
         'weight' => [
           'name' => 'weight',
@@ -123,6 +125,7 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => NULL,
         ],
         'submit_time' => [
           'name' => 'submit_time',
@@ -138,6 +141,7 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select Date',
           ],
+          'add' => NULL,
         ],
         'release_time' => [
           'name' => 'release_time',
@@ -152,6 +156,7 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select Date',
           ],
+          'add' => NULL,
         ],
         'data' => [
           'name' => 'data',
@@ -164,6 +169,7 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO {
           'bao' => 'CRM_Queue_BAO_QueueItem',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_PHP,
+          'add' => NULL,
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Report/DAO/ReportInstance.php b/civicrm/CRM/Report/DAO/ReportInstance.php
index cc235a182d..3a2e2b6dfd 100644
--- a/civicrm/CRM/Report/DAO/ReportInstance.php
+++ b/civicrm/CRM/Report/DAO/ReportInstance.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Report/ReportInstance.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3b68bec0504edaba7f0038dc41baa524)
+ * (GenCodeChecksum:7b5175943d5fe8579b0ce45e48388721)
  */
 
 /**
@@ -219,6 +219,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'entity' => 'ReportInstance',
           'bao' => 'CRM_Report_BAO_ReportInstance',
           'localizable' => 0,
+          'add' => '2.2',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -237,6 +238,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '3.1',
         ],
         'title' => [
           'name' => 'title',
@@ -253,6 +255,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'report_id' => [
           'name' => 'report_id',
@@ -270,6 +273,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '2.2',
         ],
         'name' => [
           'name' => 'name',
@@ -286,6 +290,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.2',
         ],
         'args' => [
           'name' => 'args',
@@ -302,6 +307,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '3.2',
         ],
         'description' => [
           'name' => 'description',
@@ -318,6 +324,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'permission' => [
           'name' => 'permission',
@@ -334,6 +341,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'grouprole' => [
           'name' => 'grouprole',
@@ -350,6 +358,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.1',
         ],
         'form_values' => [
           'name' => 'form_values',
@@ -364,6 +373,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'bao' => 'CRM_Report_BAO_ReportInstance',
           'localizable' => 0,
           'serialize' => self::SERIALIZE_PHP,
+          'add' => '2.2',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -378,6 +388,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '2.2',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -390,6 +401,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'bao' => 'CRM_Report_BAO_ReportInstance',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.6',
         ],
         'owner_id' => [
           'name' => 'owner_id',
@@ -402,6 +414,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'bao' => 'CRM_Report_BAO_ReportInstance',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '4.6',
         ],
         'email_subject' => [
           'name' => 'email_subject',
@@ -418,6 +431,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => NULL,
         ],
         'email_to' => [
           'name' => 'email_to',
@@ -432,6 +446,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'email_cc' => [
           'name' => 'email_cc',
@@ -446,6 +461,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '2.2',
         ],
         'header' => [
           'name' => 'header',
@@ -462,6 +478,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '2.2',
         ],
         'footer' => [
           'name' => 'footer',
@@ -478,6 +495,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '2.2',
         ],
         'navigation_id' => [
           'name' => 'navigation_id',
@@ -492,6 +510,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'bao' => 'CRM_Report_BAO_ReportInstance',
           'localizable' => 0,
           'FKClassName' => 'CRM_Core_DAO_Navigation',
+          'add' => '3.0',
         ],
         'drilldown_id' => [
           'name' => 'drilldown_id',
@@ -506,6 +525,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'bao' => 'CRM_Report_BAO_ReportInstance',
           'localizable' => 0,
           'FKClassName' => 'CRM_Report_DAO_ReportInstance',
+          'add' => '4.3',
         ],
         'is_reserved' => [
           'name' => 'is_reserved',
@@ -520,6 +540,7 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Report/Form.php b/civicrm/CRM/Report/Form.php
index 3690f84c8c..0768843c5e 100644
--- a/civicrm/CRM/Report/Form.php
+++ b/civicrm/CRM/Report/Form.php
@@ -139,11 +139,6 @@ class CRM_Report_Form extends CRM_Core_Form {
    */
   protected $_groupFilter = FALSE;
 
-  /**
-   * Required for civiexportexcel.
-   */
-  public $supportsExportExcel = TRUE;
-
   /**
    * Has the report been optimised for group filtering.
    *
@@ -1440,7 +1435,7 @@ class CRM_Report_Form extends CRM_Core_Form {
     if (!CRM_Core_Permission::check('view report sql')) {
       return;
     }
-    $ignored_output_modes = ['pdf', 'csv', 'print', 'excel2007'];
+    $ignored_output_modes = ['pdf', 'csv', 'print'];
     if (in_array($this->_outputMode, $ignored_output_modes)) {
       return;
     }
@@ -2866,11 +2861,6 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
       $this->_absoluteUrl = TRUE;
       $this->addPaging = FALSE;
     }
-    elseif ($this->_outputMode == 'excel2007') {
-      $printOnly = TRUE;
-      $this->_absoluteUrl = TRUE;
-      $this->addPaging = FALSE;
-    }
     elseif ($this->_outputMode == 'copy' && $this->_criteriaForm) {
       $this->_createNew = TRUE;
     }
@@ -3508,9 +3498,6 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
     elseif ($this->_outputMode == 'csv') {
       CRM_Report_Utils_Report::export2csv($this, $rows);
     }
-    elseif ($this->_outputMode == 'excel2007') {
-      CRM_CiviExportExcel_Utils_Report::export2excel2007($this, $rows);
-    }
     elseif ($this->_outputMode == 'group') {
       $group = $this->_params['groups'];
       $this->add2group($group);
diff --git a/civicrm/CRM/SMS/DAO/Provider.php b/civicrm/CRM/SMS/DAO/Provider.php
index 7088afe195..f82e83787d 100644
--- a/civicrm/CRM/SMS/DAO/Provider.php
+++ b/civicrm/CRM/SMS/DAO/Provider.php
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/SMS/Provider.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8f832b1b8dbd4cbee327a0900c128cc4)
+ * (GenCodeChecksum:03d4a6a4297d1f73bcfc009062f318c0)
  */
 
 /**
@@ -137,6 +137,7 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO {
           'entity' => 'Provider',
           'bao' => 'CRM_SMS_BAO_Provider',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'name' => [
           'name' => 'name',
@@ -150,6 +151,7 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO {
           'entity' => 'Provider',
           'bao' => 'CRM_SMS_BAO_Provider',
           'localizable' => 0,
+          'add' => '4.2',
         ],
         'title' => [
           'name' => 'title',
@@ -166,6 +168,7 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.2',
         ],
         'username' => [
           'name' => 'username',
@@ -181,6 +184,7 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.2',
         ],
         'password' => [
           'name' => 'password',
@@ -196,6 +200,7 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.2',
         ],
         'api_type' => [
           'name' => 'api_type',
@@ -215,6 +220,7 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO {
             'optionGroupName' => 'sms_api_type',
             'optionEditPath' => 'civicrm/admin/options/sms_api_type',
           ],
+          'add' => '4.2',
         ],
         'api_url' => [
           'name' => 'api_url',
@@ -230,6 +236,7 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.2',
         ],
         'api_params' => [
           'name' => 'api_params',
@@ -244,6 +251,7 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '4.2',
         ],
         'is_default' => [
           'name' => 'is_default',
@@ -258,6 +266,7 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.2',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -272,6 +281,7 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '4.2',
         ],
         'domain_id' => [
           'name' => 'domain_id',
@@ -289,6 +299,7 @@ class CRM_SMS_DAO_Provider extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'name',
           ],
+          'add' => '4.7',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/CRM/Upgrade/Incremental/sql/5.27.3.mysql.tpl b/civicrm/CRM/Upgrade/Incremental/sql/5.27.3.mysql.tpl
new file mode 100644
index 0000000000..92cb289c83
--- /dev/null
+++ b/civicrm/CRM/Upgrade/Incremental/sql/5.27.3.mysql.tpl
@@ -0,0 +1 @@
+{* file to handle db changes in 5.27.3 during upgrade *}
diff --git a/civicrm/CRM/Utils/Check/Component/Env.php b/civicrm/CRM/Utils/Check/Component/Env.php
index 1f63ec83e7..f239f69d52 100644
--- a/civicrm/CRM/Utils/Check/Component/Env.php
+++ b/civicrm/CRM/Utils/Check/Component/Env.php
@@ -751,7 +751,8 @@ class CRM_Utils_Check_Component_Env extends CRM_Utils_Check_Component {
       }
 
       // if db.ver > code.ver, sth really wrong
-      if (version_compare($dbVersion, CRM_Utils_System::version()) > 0) {
+      $codeVersion = CRM_Utils_System::version();
+      if (version_compare($dbVersion, $codeVersion) > 0) {
         $messages[] = new CRM_Utils_Check_Message(
           __FUNCTION__,
           ts('Your database is marked with an unexpected version number: %1. The v%2 codebase may not be compatible with your database state.
diff --git a/civicrm/Civi/Api4/Service/Spec/SpecGatherer.php b/civicrm/Civi/Api4/Service/Spec/SpecGatherer.php
index 00fa09b503..6116c4c69d 100644
--- a/civicrm/Civi/Api4/Service/Spec/SpecGatherer.php
+++ b/civicrm/Civi/Api4/Service/Spec/SpecGatherer.php
@@ -166,7 +166,7 @@ class SpecGatherer {
   private function getDAOFields($entityName) {
     $bao = CoreUtil::getBAOFromApiName($entityName);
 
-    return $bao::fields();
+    return $bao::getSupportedFields();
   }
 
 }
diff --git a/civicrm/Civi/Test/Data.php b/civicrm/Civi/Test/Data.php
index 8cada62629..eb4a5ef083 100644
--- a/civicrm/Civi/Test/Data.php
+++ b/civicrm/Civi/Test/Data.php
@@ -44,6 +44,8 @@ class Data {
       \Civi\Test::schema()->setStrict(TRUE);
     });
 
+    civicrm_api('setting', 'create', ['installed' => 1, 'domain_id' => 'all', 'version' => 3]);
+
     // Rebuild triggers
     civicrm_api('system', 'flush', ['version' => 3, 'triggers' => 1]);
 
diff --git a/civicrm/api/v3/Setting.php b/civicrm/api/v3/Setting.php
index 7e9ea8ffa3..133d90b578 100644
--- a/civicrm/api/v3/Setting.php
+++ b/civicrm/api/v3/Setting.php
@@ -195,7 +195,7 @@ function _civicrm_api3_setting_revert_spec(&$params) {
  * Revert settings to defaults.
  *
  * @param array $params
- *
+ * @deprecated
  * @return array
  * @throws \CiviCRM_API3_Exception
  * @throws \Exception
@@ -240,6 +240,15 @@ function _civicrm_api3_setting_fill_spec(&$params) {
   ];
 }
 
+/**
+ * Declare deprecated api functions.
+ *
+ * @return array
+ */
+function _civicrm_api3_setting_deprecation() {
+  return ['fill' => 'Setting "fill" is no longer necessary.'];
+}
+
 /**
  * Create or update a setting.
  *
diff --git a/civicrm/api/v3/utils.php b/civicrm/api/v3/utils.php
index ae9eaa0a18..f7706ba500 100644
--- a/civicrm/api/v3/utils.php
+++ b/civicrm/api/v3/utils.php
@@ -294,7 +294,7 @@ function _civicrm_api3_load_DAO($entity) {
  *   return the DAO name to manipulate this function
  *   eg. "civicrm_api3_contact_create" or "Contact" will return "CRM_Contact_BAO_Contact"
  *
- * @return mixed|string
+ * @return CRM_Core_DAO|string
  */
 function _civicrm_api3_get_DAO($name) {
   if (strpos($name, 'civicrm_api3') !== FALSE) {
@@ -1878,15 +1878,19 @@ function _civicrm_api_get_fields($entity, $unique = FALSE, &$params = []) {
   if (empty($dao)) {
     return [];
   }
-  $d = new $dao();
-  $fields = $d->fields();
+  $fields = $dao::fields();
+  $supportedFields = $dao::getSupportedFields();
 
-  foreach ($fields as $name => &$field) {
+  foreach ($fields as $name => $field) {
     // Denote as core field
-    $field['is_core_field'] = TRUE;
+    $fields[$name]['is_core_field'] = TRUE;
     // Set html attributes for text fields
     if (isset($field['html'])) {
-      $field['html'] += (array) $d::makeAttribute($field);
+      $fields[$name]['html'] += (array) $dao::makeAttribute($field);
+    }
+    // Delete field if not supported by current db schema (prevents errors when there are pending db updates)
+    if (!isset($supportedFields[$field['name']])) {
+      unset($fields[$name]);
     }
   }
 
diff --git a/civicrm/bower_components/angular-bootstrap/.gitignore b/civicrm/bower_components/angular-bootstrap/.gitignore
new file mode 100644
index 0000000000..496ee2ca6a
--- /dev/null
+++ b/civicrm/bower_components/angular-bootstrap/.gitignore
@@ -0,0 +1 @@
+.DS_Store
\ No newline at end of file
diff --git a/civicrm/bower_components/angular-file-upload/.gitignore b/civicrm/bower_components/angular-file-upload/.gitignore
new file mode 100644
index 0000000000..54f92bf401
--- /dev/null
+++ b/civicrm/bower_components/angular-file-upload/.gitignore
@@ -0,0 +1,5 @@
+.temp
+.idea
+*.iml
+node_modules
+bower_components
diff --git a/civicrm/bower_components/font-awesome/.gitignore b/civicrm/bower_components/font-awesome/.gitignore
new file mode 100644
index 0000000000..39c4f20b70
--- /dev/null
+++ b/civicrm/bower_components/font-awesome/.gitignore
@@ -0,0 +1,33 @@
+*.pyc
+*.egg-info
+*.db
+*.db.old
+*.swp
+*.db-journal
+
+.coverage
+.DS_Store
+.installed.cfg
+_gh_pages/*
+
+.idea/*
+.svn/*
+src/website/static/*
+src/website/media/*
+
+bin
+cfcache
+develop-eggs
+dist
+downloads
+eggs
+parts
+tmp
+.sass-cache
+node_modules
+
+src/website/settingslocal.py
+stunnel.log
+
+.ruby-version
+.bundle
diff --git a/civicrm/bower_components/jquery-ui/.gitignore b/civicrm/bower_components/jquery-ui/.gitignore
new file mode 100644
index 0000000000..cfcaf7a64a
--- /dev/null
+++ b/civicrm/bower_components/jquery-ui/.gitignore
@@ -0,0 +1,4 @@
+components
+composer.lock
+vendor
+.DS_Store
diff --git a/civicrm/bower_components/jquery/.gitignore b/civicrm/bower_components/jquery/.gitignore
new file mode 100644
index 0000000000..0f17f98b18
--- /dev/null
+++ b/civicrm/bower_components/jquery/.gitignore
@@ -0,0 +1,15 @@
+.project
+.settings
+*~
+*.diff
+*.patch
+/*.html
+.DS_Store
+.bower.json
+.sizecache.json
+
+npm-debug.log
+
+/node_modules
+
+/test/node_smoke_tests/lib/ensure_iterability.js
diff --git a/civicrm/bower_components/js-yaml/.gitignore b/civicrm/bower_components/js-yaml/.gitignore
new file mode 100644
index 0000000000..6155dbe5a6
--- /dev/null
+++ b/civicrm/bower_components/js-yaml/.gitignore
@@ -0,0 +1,7 @@
+coverage
+demo
+node_modules
+doc
+benchmark/implementations/*
+!/benchmark/implementations/current/
+.idea
diff --git a/civicrm/bower_components/select2/.gitignore b/civicrm/bower_components/select2/.gitignore
new file mode 100644
index 0000000000..c6ef2182bd
--- /dev/null
+++ b/civicrm/bower_components/select2/.gitignore
@@ -0,0 +1,2 @@
+.idea
+
diff --git a/civicrm/civicrm-version.php b/civicrm/civicrm-version.php
index ea6b49cc83..3e845c18ea 100644
--- a/civicrm/civicrm-version.php
+++ b/civicrm/civicrm-version.php
@@ -1,7 +1,7 @@
 <?php
 /** @deprecated */
 function civicrmVersion( ) {
-  return array( 'version'  => '5.27.2',
+  return array( 'version'  => '5.27.3',
                 'cms'      => 'Wordpress',
                 'revision' => '' );
 }
diff --git a/civicrm/packages/.gitignore b/civicrm/packages/.gitignore
new file mode 100644
index 0000000000..dd210bfa21
--- /dev/null
+++ b/civicrm/packages/.gitignore
@@ -0,0 +1,15 @@
+*~
+*.bak
+DB/Table/Manager/ibase.php
+DB/Table/Manager/oci8.php
+DB/Table/Manager/sqlite.php
+DB/fbsql.php
+DB/ibase.php
+DB/ifx.php
+DB/msql.php
+DB/oci8.php
+DB/sqlite.php
+DB/sybase.php
+XML/RPC.php
+XML/RPC/Dump.php
+XML/RPC/Server.php
diff --git a/civicrm/release-notes.md b/civicrm/release-notes.md
index 5c3503d850..3dfe1298d6 100644
--- a/civicrm/release-notes.md
+++ b/civicrm/release-notes.md
@@ -15,6 +15,15 @@ Other resources for identifying changes are:
     * https://github.com/civicrm/civicrm-joomla
     * https://github.com/civicrm/civicrm-wordpress
 
+## CiviCRM 5.27.3
+
+Released July 23, 2020
+
+- **[Synopsis](release-notes/5.27.3.md#synopsis)**
+- **[Bugs resolved](release-notes/5.27.3.md#bugs)**
+- **[Credits](release-notes/5.27.3.md#credits)**
+- **[Feedback](release-notes/5.27.3.md#feedback)**
+
 ## CiviCRM 5.27.2
 
 Released July 14, 2020
diff --git a/civicrm/release-notes/5.27.3.md b/civicrm/release-notes/5.27.3.md
new file mode 100644
index 0000000000..784cb7511f
--- /dev/null
+++ b/civicrm/release-notes/5.27.3.md
@@ -0,0 +1,43 @@
+# CiviCRM 5.27.3
+
+Released July 23, 2020
+
+- **[Synopsis](#synopsis)**
+- **[Bugs resolved](#bugs)**
+- **[Credits](#credits)**
+- **[Feedback](#feedback)**
+
+## <a name="synopsis"></a>Synopsis
+
+| *Does this version...?*                                         |         |
+|:--------------------------------------------------------------- |:-------:|
+| Fix security vulnerabilities?                                   |   no    |
+| Change the database schema?                                     |   no    |
+| Alter the API?                                                  |   no    |
+| Require attention to configuration options?                     |   no    |
+| **Fix problems installing or upgrading to a previous version?** | **yes** |
+| Introduce features?                                             |   no    |
+| Fix bugs?                                                       |   no    |
+
+## <a name="bugs"></a>Bugs resolved
+
+* **_Upgrade_: Fix "no such field" error involving `civicrm_custom_field`.`serialize`
+  ([dev/core#1846](https://lab.civicrm.org/dev/core/-/issues/1846):
+  [#17876](https://github.com/civicrm/civicrm-core/pull/17876),
+  [#17907](https://github.com/civicrm/civicrm-core/pull/17907),
+  [#17909](https://github.com/civicrm/civicrm-core/pull/17909))**
+
+## <a name="credits"></a>Credits
+
+<!-- X: TIP: In buildkit, the CLI command civicredits.php can help autocomplete contributor names with the typical formatting.  -->
+
+This release was developed by the following authors and reviewers:
+
+Wikimedia Foundation - Eileen McNaughton; Tadpole Collective - Kevin Cristiano; Shane Bill; JMA
+Consulting - Seamus Lee; CiviCRM - Coleman Watts, Tim Otten
+
+## <a name="feedback"></a>Feedback
+
+These release notes are edited by Tim Otten and Andrew Hunt.  If you'd like to
+provide feedback on them, please login to https://chat.civicrm.org/civicrm and
+contact `@agh1`.
diff --git a/civicrm/sql/civicrm_data.mysql b/civicrm/sql/civicrm_data.mysql
index 21f644ad8e..4747aea9fe 100644
--- a/civicrm/sql/civicrm_data.mysql
+++ b/civicrm/sql/civicrm_data.mysql
@@ -23897,4 +23897,4 @@ INSERT INTO `civicrm_report_instance`
     ( `domain_id`, `title`, `report_id`, `description`, `permission`, `form_values`)
 VALUES
     (  @domainID, 'Survey Details', 'survey/detail', 'Detailed report for canvassing, phone-banking, walk lists or other surveys.', 'access CiviReport', 'a:39:{s:6:"fields";a:2:{s:9:"sort_name";s:1:"1";s:6:"result";s:1:"1";}s:22:"assignee_contact_id_op";s:2:"eq";s:25:"assignee_contact_id_value";s:0:"";s:12:"sort_name_op";s:3:"has";s:15:"sort_name_value";s:0:"";s:17:"street_number_min";s:0:"";s:17:"street_number_max";s:0:"";s:16:"street_number_op";s:3:"lte";s:19:"street_number_value";s:0:"";s:14:"street_name_op";s:3:"has";s:17:"street_name_value";s:0:"";s:15:"postal_code_min";s:0:"";s:15:"postal_code_max";s:0:"";s:14:"postal_code_op";s:3:"lte";s:17:"postal_code_value";s:0:"";s:7:"city_op";s:3:"has";s:10:"city_value";s:0:"";s:20:"state_province_id_op";s:2:"in";s:23:"state_province_id_value";a:0:{}s:13:"country_id_op";s:2:"in";s:16:"country_id_value";a:0:{}s:12:"survey_id_op";s:2:"in";s:15:"survey_id_value";a:0:{}s:12:"status_id_op";s:2:"eq";s:15:"status_id_value";s:1:"1";s:11:"custom_1_op";s:2:"in";s:14:"custom_1_value";a:0:{}s:11:"custom_2_op";s:2:"in";s:14:"custom_2_value";a:0:{}s:17:"custom_3_relative";s:1:"0";s:13:"custom_3_from";s:0:"";s:11:"custom_3_to";s:0:"";s:11:"description";s:75:"Detailed report for canvassing, phone-banking, walk lists or other surveys.";s:13:"email_subject";s:0:"";s:8:"email_to";s:0:"";s:8:"email_cc";s:0:"";s:10:"permission";s:17:"access CiviReport";s:6:"groups";s:0:"";s:9:"domain_id";i:1;}');
-UPDATE civicrm_domain SET version = '5.27.2';
+UPDATE civicrm_domain SET version = '5.27.3';
diff --git a/civicrm/sql/civicrm_generated.mysql b/civicrm/sql/civicrm_generated.mysql
index eb0f7cbe54..92451d956f 100644
--- a/civicrm/sql/civicrm_generated.mysql
+++ b/civicrm/sql/civicrm_generated.mysql
@@ -399,7 +399,7 @@ UNLOCK TABLES;
 
 LOCK TABLES `civicrm_domain` WRITE;
 /*!40000 ALTER TABLE `civicrm_domain` DISABLE KEYS */;
-INSERT INTO `civicrm_domain` (`id`, `name`, `description`, `version`, `contact_id`, `locales`, `locale_custom_strings`) VALUES (1,'Default Domain Name',NULL,'5.27.2',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}');
+INSERT INTO `civicrm_domain` (`id`, `name`, `description`, `version`, `contact_id`, `locales`, `locale_custom_strings`) VALUES (1,'Default Domain Name',NULL,'5.27.3',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}');
 /*!40000 ALTER TABLE `civicrm_domain` ENABLE KEYS */;
 UNLOCK TABLES;
 
diff --git a/civicrm/vendor/adrienrn/php-mimetyper/.gitignore b/civicrm/vendor/adrienrn/php-mimetyper/.gitignore
new file mode 100644
index 0000000000..4a5fdabde3
--- /dev/null
+++ b/civicrm/vendor/adrienrn/php-mimetyper/.gitignore
@@ -0,0 +1,7 @@
+composer.phar
+/vendor/
+
+# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
+# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
+# composer.lock
+node_modules/
diff --git a/civicrm/vendor/autoload.php b/civicrm/vendor/autoload.php
index eaedebd528..afc2fef0c1 100644
--- a/civicrm/vendor/autoload.php
+++ b/civicrm/vendor/autoload.php
@@ -4,4 +4,4 @@
 
 require_once __DIR__ . '/composer/autoload_real.php';
 
-return ComposerAutoloaderInit1eea4a59cf4f6465d1dd69a18796e920::getLoader();
+return ComposerAutoloaderInitca5a215181f6be4f111a9c4dab5c9ac2::getLoader();
diff --git a/civicrm/vendor/cache/integration-tests/.gitignore b/civicrm/vendor/cache/integration-tests/.gitignore
new file mode 100755
index 0000000000..987e2a253c
--- /dev/null
+++ b/civicrm/vendor/cache/integration-tests/.gitignore
@@ -0,0 +1,2 @@
+composer.lock
+vendor
diff --git a/civicrm/vendor/cache/tag-interop/.gitignore b/civicrm/vendor/cache/tag-interop/.gitignore
new file mode 100644
index 0000000000..987e2a253c
--- /dev/null
+++ b/civicrm/vendor/cache/tag-interop/.gitignore
@@ -0,0 +1,2 @@
+composer.lock
+vendor
diff --git a/civicrm/vendor/civicrm/civicrm-cxn-rpc/.gitignore b/civicrm/vendor/civicrm/civicrm-cxn-rpc/.gitignore
new file mode 100644
index 0000000000..013f0b716a
--- /dev/null
+++ b/civicrm/vendor/civicrm/civicrm-cxn-rpc/.gitignore
@@ -0,0 +1,3 @@
+*~
+vendor/
+tmp/
diff --git a/civicrm/vendor/civicrm/composer-downloads-plugin/.gitignore b/civicrm/vendor/civicrm/composer-downloads-plugin/.gitignore
new file mode 100644
index 0000000000..4a45ef5f7a
--- /dev/null
+++ b/civicrm/vendor/civicrm/composer-downloads-plugin/.gitignore
@@ -0,0 +1,3 @@
+vendor
+composer.lock
+.php_cs.cache
diff --git a/civicrm/vendor/composer/autoload_real.php b/civicrm/vendor/composer/autoload_real.php
index 2684fd73f7..16a1c5c6da 100644
--- a/civicrm/vendor/composer/autoload_real.php
+++ b/civicrm/vendor/composer/autoload_real.php
@@ -2,7 +2,7 @@
 
 // autoload_real.php @generated by Composer
 
-class ComposerAutoloaderInit1eea4a59cf4f6465d1dd69a18796e920
+class ComposerAutoloaderInitca5a215181f6be4f111a9c4dab5c9ac2
 {
     private static $loader;
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit1eea4a59cf4f6465d1dd69a18796e920
             return self::$loader;
         }
 
-        spl_autoload_register(array('ComposerAutoloaderInit1eea4a59cf4f6465d1dd69a18796e920', 'loadClassLoader'), true, true);
+        spl_autoload_register(array('ComposerAutoloaderInitca5a215181f6be4f111a9c4dab5c9ac2', 'loadClassLoader'), true, true);
         self::$loader = $loader = new \Composer\Autoload\ClassLoader();
-        spl_autoload_unregister(array('ComposerAutoloaderInit1eea4a59cf4f6465d1dd69a18796e920', 'loadClassLoader'));
+        spl_autoload_unregister(array('ComposerAutoloaderInitca5a215181f6be4f111a9c4dab5c9ac2', 'loadClassLoader'));
 
         $includePaths = require __DIR__ . '/include_paths.php';
         $includePaths[] = get_include_path();
@@ -31,7 +31,7 @@ class ComposerAutoloaderInit1eea4a59cf4f6465d1dd69a18796e920
         if ($useStaticLoader) {
             require_once __DIR__ . '/autoload_static.php';
 
-            call_user_func(\Composer\Autoload\ComposerStaticInit1eea4a59cf4f6465d1dd69a18796e920::getInitializer($loader));
+            call_user_func(\Composer\Autoload\ComposerStaticInitca5a215181f6be4f111a9c4dab5c9ac2::getInitializer($loader));
         } else {
             $map = require __DIR__ . '/autoload_namespaces.php';
             foreach ($map as $namespace => $path) {
@@ -52,19 +52,19 @@ class ComposerAutoloaderInit1eea4a59cf4f6465d1dd69a18796e920
         $loader->register(true);
 
         if ($useStaticLoader) {
-            $includeFiles = Composer\Autoload\ComposerStaticInit1eea4a59cf4f6465d1dd69a18796e920::$files;
+            $includeFiles = Composer\Autoload\ComposerStaticInitca5a215181f6be4f111a9c4dab5c9ac2::$files;
         } else {
             $includeFiles = require __DIR__ . '/autoload_files.php';
         }
         foreach ($includeFiles as $fileIdentifier => $file) {
-            composerRequire1eea4a59cf4f6465d1dd69a18796e920($fileIdentifier, $file);
+            composerRequireca5a215181f6be4f111a9c4dab5c9ac2($fileIdentifier, $file);
         }
 
         return $loader;
     }
 }
 
-function composerRequire1eea4a59cf4f6465d1dd69a18796e920($fileIdentifier, $file)
+function composerRequireca5a215181f6be4f111a9c4dab5c9ac2($fileIdentifier, $file)
 {
     if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
         require $file;
diff --git a/civicrm/vendor/composer/autoload_static.php b/civicrm/vendor/composer/autoload_static.php
index 2eeb7c2277..ec6f260aa2 100644
--- a/civicrm/vendor/composer/autoload_static.php
+++ b/civicrm/vendor/composer/autoload_static.php
@@ -4,7 +4,7 @@
 
 namespace Composer\Autoload;
 
-class ComposerStaticInit1eea4a59cf4f6465d1dd69a18796e920
+class ComposerStaticInitca5a215181f6be4f111a9c4dab5c9ac2
 {
     public static $files = array (
         '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
@@ -497,11 +497,11 @@ class ComposerStaticInit1eea4a59cf4f6465d1dd69a18796e920
     public static function getInitializer(ClassLoader $loader)
     {
         return \Closure::bind(function () use ($loader) {
-            $loader->prefixLengthsPsr4 = ComposerStaticInit1eea4a59cf4f6465d1dd69a18796e920::$prefixLengthsPsr4;
-            $loader->prefixDirsPsr4 = ComposerStaticInit1eea4a59cf4f6465d1dd69a18796e920::$prefixDirsPsr4;
-            $loader->prefixesPsr0 = ComposerStaticInit1eea4a59cf4f6465d1dd69a18796e920::$prefixesPsr0;
-            $loader->fallbackDirsPsr0 = ComposerStaticInit1eea4a59cf4f6465d1dd69a18796e920::$fallbackDirsPsr0;
-            $loader->classMap = ComposerStaticInit1eea4a59cf4f6465d1dd69a18796e920::$classMap;
+            $loader->prefixLengthsPsr4 = ComposerStaticInitca5a215181f6be4f111a9c4dab5c9ac2::$prefixLengthsPsr4;
+            $loader->prefixDirsPsr4 = ComposerStaticInitca5a215181f6be4f111a9c4dab5c9ac2::$prefixDirsPsr4;
+            $loader->prefixesPsr0 = ComposerStaticInitca5a215181f6be4f111a9c4dab5c9ac2::$prefixesPsr0;
+            $loader->fallbackDirsPsr0 = ComposerStaticInitca5a215181f6be4f111a9c4dab5c9ac2::$fallbackDirsPsr0;
+            $loader->classMap = ComposerStaticInitca5a215181f6be4f111a9c4dab5c9ac2::$classMap;
 
         }, null, ClassLoader::class);
     }
diff --git a/civicrm/vendor/cweagans/composer-patches/.gitignore b/civicrm/vendor/cweagans/composer-patches/.gitignore
new file mode 100644
index 0000000000..48b8bf9072
--- /dev/null
+++ b/civicrm/vendor/cweagans/composer-patches/.gitignore
@@ -0,0 +1 @@
+vendor/
diff --git a/civicrm/vendor/dflydev/apache-mime-types/.gitignore b/civicrm/vendor/dflydev/apache-mime-types/.gitignore
new file mode 100644
index 0000000000..3a9875b460
--- /dev/null
+++ b/civicrm/vendor/dflydev/apache-mime-types/.gitignore
@@ -0,0 +1,2 @@
+/vendor/
+composer.lock
diff --git a/civicrm/vendor/marcj/topsort/.gitignore b/civicrm/vendor/marcj/topsort/.gitignore
new file mode 100644
index 0000000000..18899606d4
--- /dev/null
+++ b/civicrm/vendor/marcj/topsort/.gitignore
@@ -0,0 +1,2 @@
+./vendor
+./report
\ No newline at end of file
diff --git a/civicrm/vendor/pear/auth_sasl/.gitignore b/civicrm/vendor/pear/auth_sasl/.gitignore
new file mode 100644
index 0000000000..51c05e5ad3
--- /dev/null
+++ b/civicrm/vendor/pear/auth_sasl/.gitignore
@@ -0,0 +1,7 @@
+*~
+.*~
+
+# composer related
+composer.lock
+composer.phar
+vendor
diff --git a/civicrm/vendor/pear/console_getopt/.gitignore b/civicrm/vendor/pear/console_getopt/.gitignore
new file mode 100644
index 0000000000..783582816c
--- /dev/null
+++ b/civicrm/vendor/pear/console_getopt/.gitignore
@@ -0,0 +1,6 @@
+# composer related
+composer.lock
+composer.phar
+vendor
+README.html
+dist/
diff --git a/civicrm/vendor/pear/log/.gitignore b/civicrm/vendor/pear/log/.gitignore
new file mode 100644
index 0000000000..1cb564d815
--- /dev/null
+++ b/civicrm/vendor/pear/log/.gitignore
@@ -0,0 +1,18 @@
+
+# /
+/*.tgz
+
+# /docs/
+/docs/api
+
+# /tests/
+/tests/*.diff
+/tests/*.exp
+/tests/*.log
+/tests/*.out
+/tests/sqlite-log.db
+
+# composer related
+composer.lock
+composer.phar
+vendor
diff --git a/civicrm/vendor/pear/mail/.gitignore b/civicrm/vendor/pear/mail/.gitignore
new file mode 100644
index 0000000000..869f498584
--- /dev/null
+++ b/civicrm/vendor/pear/mail/.gitignore
@@ -0,0 +1,4 @@
+# composer related
+composer.lock
+composer.phar
+vendor
diff --git a/civicrm/vendor/pear/net_smtp/.gitignore b/civicrm/vendor/pear/net_smtp/.gitignore
new file mode 100644
index 0000000000..d6a279e8f4
--- /dev/null
+++ b/civicrm/vendor/pear/net_smtp/.gitignore
@@ -0,0 +1,15 @@
+.DS_Store
+Net_SMTP-*.tgz
+
+# Tests
+run-tests.log
+/tests/*.diff
+/tests/*.exp
+/tests/*.log
+/tests/*.out
+/tests/config.php
+
+# composer related
+composer.lock
+composer.phar
+vendor
diff --git a/civicrm/vendor/pear/net_socket/.gitignore b/civicrm/vendor/pear/net_socket/.gitignore
new file mode 100644
index 0000000000..869f498584
--- /dev/null
+++ b/civicrm/vendor/pear/net_socket/.gitignore
@@ -0,0 +1,4 @@
+# composer related
+composer.lock
+composer.phar
+vendor
diff --git a/civicrm/vendor/pear/pear_exception/.gitignore b/civicrm/vendor/pear/pear_exception/.gitignore
new file mode 100644
index 0000000000..479265b071
--- /dev/null
+++ b/civicrm/vendor/pear/pear_exception/.gitignore
@@ -0,0 +1,6 @@
+PEAR_Exception*.tgz
+
+# composer related
+composer.lock
+composer.phar
+vendor
diff --git a/civicrm/vendor/pear/validate_finance_creditcard/.gitignore b/civicrm/vendor/pear/validate_finance_creditcard/.gitignore
new file mode 100644
index 0000000000..869f498584
--- /dev/null
+++ b/civicrm/vendor/pear/validate_finance_creditcard/.gitignore
@@ -0,0 +1,4 @@
+# composer related
+composer.lock
+composer.phar
+vendor
diff --git a/civicrm/vendor/phenx/php-font-lib/.gitignore b/civicrm/vendor/phenx/php-font-lib/.gitignore
new file mode 100644
index 0000000000..d2b601ebc7
--- /dev/null
+++ b/civicrm/vendor/phenx/php-font-lib/.gitignore
@@ -0,0 +1,5 @@
+.DS_Store
+composer.lock
+vendor
+.idea
+.project
diff --git a/civicrm/vendor/phenx/php-svg-lib/.gitignore b/civicrm/vendor/phenx/php-svg-lib/.gitignore
new file mode 100644
index 0000000000..7181efded5
--- /dev/null
+++ b/civicrm/vendor/phenx/php-svg-lib/.gitignore
@@ -0,0 +1,3 @@
+excluded
+gui
+.idea
\ No newline at end of file
diff --git a/civicrm/vendor/phpoffice/common/.gitignore b/civicrm/vendor/phpoffice/common/.gitignore
new file mode 100644
index 0000000000..605fc80c32
--- /dev/null
+++ b/civicrm/vendor/phpoffice/common/.gitignore
@@ -0,0 +1,25 @@
+.DS_Store
+._*
+.Spotlight-V100
+.Trashes
+Thumbs.db
+Desktop.ini
+.idea
+build/
+phpunit.xml
+composer.phar
+vendor
+*.settings
+*.project
+*.buildpath
+
+/samples/results
+/phpunit.bat
+/todo.txt
+/samples/Sample_00_Test.php
+/samples/#47
+/samples/#70
+/samples/#71
+/samples/Github_*.*
+/samples/#83/*.lnk
+/composer.lock
diff --git a/civicrm/vendor/psr/container/.gitignore b/civicrm/vendor/psr/container/.gitignore
new file mode 100644
index 0000000000..b2395aa055
--- /dev/null
+++ b/civicrm/vendor/psr/container/.gitignore
@@ -0,0 +1,3 @@
+composer.lock
+composer.phar
+/vendor/
diff --git a/civicrm/vendor/psr/log/.gitignore b/civicrm/vendor/psr/log/.gitignore
new file mode 100644
index 0000000000..22d0d82f80
--- /dev/null
+++ b/civicrm/vendor/psr/log/.gitignore
@@ -0,0 +1 @@
+vendor
diff --git a/civicrm/vendor/sabberworm/php-css-parser/.gitignore b/civicrm/vendor/sabberworm/php-css-parser/.gitignore
new file mode 100644
index 0000000000..48b8bf9072
--- /dev/null
+++ b/civicrm/vendor/sabberworm/php-css-parser/.gitignore
@@ -0,0 +1 @@
+vendor/
diff --git a/civicrm/vendor/symfony/config/.gitignore b/civicrm/vendor/symfony/config/.gitignore
new file mode 100644
index 0000000000..c49a5d8df5
--- /dev/null
+++ b/civicrm/vendor/symfony/config/.gitignore
@@ -0,0 +1,3 @@
+vendor/
+composer.lock
+phpunit.xml
diff --git a/civicrm/vendor/symfony/dependency-injection/.gitignore b/civicrm/vendor/symfony/dependency-injection/.gitignore
new file mode 100644
index 0000000000..c49a5d8df5
--- /dev/null
+++ b/civicrm/vendor/symfony/dependency-injection/.gitignore
@@ -0,0 +1,3 @@
+vendor/
+composer.lock
+phpunit.xml
diff --git a/civicrm/vendor/symfony/event-dispatcher/.gitignore b/civicrm/vendor/symfony/event-dispatcher/.gitignore
new file mode 100644
index 0000000000..c49a5d8df5
--- /dev/null
+++ b/civicrm/vendor/symfony/event-dispatcher/.gitignore
@@ -0,0 +1,3 @@
+vendor/
+composer.lock
+phpunit.xml
diff --git a/civicrm/vendor/symfony/filesystem/.gitignore b/civicrm/vendor/symfony/filesystem/.gitignore
new file mode 100644
index 0000000000..c49a5d8df5
--- /dev/null
+++ b/civicrm/vendor/symfony/filesystem/.gitignore
@@ -0,0 +1,3 @@
+vendor/
+composer.lock
+phpunit.xml
diff --git a/civicrm/vendor/symfony/finder/.gitignore b/civicrm/vendor/symfony/finder/.gitignore
new file mode 100644
index 0000000000..c49a5d8df5
--- /dev/null
+++ b/civicrm/vendor/symfony/finder/.gitignore
@@ -0,0 +1,3 @@
+vendor/
+composer.lock
+phpunit.xml
diff --git a/civicrm/vendor/symfony/process/.gitignore b/civicrm/vendor/symfony/process/.gitignore
new file mode 100644
index 0000000000..c49a5d8df5
--- /dev/null
+++ b/civicrm/vendor/symfony/process/.gitignore
@@ -0,0 +1,3 @@
+vendor/
+composer.lock
+phpunit.xml
diff --git a/civicrm/vendor/togos/gitignore/.gitignore b/civicrm/vendor/togos/gitignore/.gitignore
new file mode 100644
index 0000000000..ff72e2d08c
--- /dev/null
+++ b/civicrm/vendor/togos/gitignore/.gitignore
@@ -0,0 +1,2 @@
+/composer.lock
+/vendor
diff --git a/civicrm/vendor/totten/ca-config/.gitignore b/civicrm/vendor/totten/ca-config/.gitignore
new file mode 100644
index 0000000000..c24fc1dba5
--- /dev/null
+++ b/civicrm/vendor/totten/ca-config/.gitignore
@@ -0,0 +1,3 @@
+*~
+vendor/
+bin/phpunit
\ No newline at end of file
diff --git a/civicrm/vendor/tplaner/when/.gitignore b/civicrm/vendor/tplaner/when/.gitignore
new file mode 100755
index 0000000000..91905f0e59
--- /dev/null
+++ b/civicrm/vendor/tplaner/when/.gitignore
@@ -0,0 +1,8 @@
+/vendor
+/report
+/www
+composer.phar
+composer.lock
+.DS_Store
+
+.idea
\ No newline at end of file
diff --git a/civicrm/vendor/xkerman/restricted-unserialize/.gitignore b/civicrm/vendor/xkerman/restricted-unserialize/.gitignore
new file mode 100644
index 0000000000..f3dec2a43d
--- /dev/null
+++ b/civicrm/vendor/xkerman/restricted-unserialize/.gitignore
@@ -0,0 +1,2 @@
+vendor/
+report/
diff --git a/civicrm/vendor/zetacomponents/base/.gitignore b/civicrm/vendor/zetacomponents/base/.gitignore
new file mode 100644
index 0000000000..7d1acbf786
--- /dev/null
+++ b/civicrm/vendor/zetacomponents/base/.gitignore
@@ -0,0 +1,3 @@
+vendor
+run-tests-tmp
+extract
\ No newline at end of file
diff --git a/civicrm/vendor/zetacomponents/mail/.gitignore b/civicrm/vendor/zetacomponents/mail/.gitignore
new file mode 100644
index 0000000000..1ce3312ef7
--- /dev/null
+++ b/civicrm/vendor/zetacomponents/mail/.gitignore
@@ -0,0 +1,4 @@
+vendor
+run-tests-tmp
+extract
+.idea
diff --git a/civicrm/xml/templates/dao.tpl b/civicrm/xml/templates/dao.tpl
index ac6b477ec3..3fb9b9772a 100644
--- a/civicrm/xml/templates/dao.tpl
+++ b/civicrm/xml/templates/dao.tpl
@@ -160,7 +160,9 @@ class {$table.className} extends CRM_Core_DAO {ldelim}
 {/if}
 {if $field.pseudoconstant}
   'pseudoconstant' => {$field.pseudoconstant|@print_array},
-{/if} {* field.pseudoconstant *}                                                                    ),
+{/if}
+  'add' => {if $field.add}'{$field.add}'{else}NULL{/if},
+),
 {/foreach} {* table.fields *}
                                       );
             CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
diff --git a/civicrm/xml/version.xml b/civicrm/xml/version.xml
index eb0f1e5968..2d10e7413a 100644
--- a/civicrm/xml/version.xml
+++ b/civicrm/xml/version.xml
@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-1" ?>
 <version>
-  <version_no>5.27.2</version_no>
+  <version_no>5.27.3</version_no>
 </version>
-- 
GitLab