diff --git a/CRM/Core/DAO/EntityFile.php b/CRM/Core/DAO/EntityFile.php
index 9b5240bfe95b..d26286a44b80 100644
--- a/CRM/Core/DAO/EntityFile.php
+++ b/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:76720cd19bd7b5bbbf1461184198acc5)
+ * (GenCodeChecksum:37cc0051ec4b2d54eeeefe4c4d004b6d)
*/
/**
@@ -231,25 +231,16 @@ public static function &export($prefix = FALSE) {
*/
public static function indices($localize = TRUE) {
$indices = [
- 'index_entity' => [
- 'name' => 'index_entity',
+ 'UI_entity_id_entity_table_file_id' => [
+ 'name' => 'UI_entity_id_entity_table_file_id',
'field' => [
- 0 => 'entity_table',
- 1 => 'entity_id',
- ],
- 'localizable' => FALSE,
- 'sig' => 'civicrm_entity_file::0::entity_table::entity_id',
- ],
- 'UI_entity_table_entity_id_file_id' => [
- 'name' => 'UI_entity_table_entity_id_file_id',
- 'field' => [
- 0 => 'entity_table',
- 1 => 'entity_id',
+ 0 => 'entity_id',
+ 1 => 'entity_table',
2 => 'file_id',
],
'localizable' => FALSE,
'unique' => TRUE,
- 'sig' => 'civicrm_entity_file::1::entity_table::entity_id::file_id',
+ 'sig' => 'civicrm_entity_file::1::entity_id::entity_table::file_id',
],
];
return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
diff --git a/CRM/Financial/DAO/FinancialType.php b/CRM/Financial/DAO/FinancialType.php
index 8a54a2047808..a5db19a8dc7d 100644
--- a/CRM/Financial/DAO/FinancialType.php
+++ b/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:4f25c751d874b9438009c8685f8d6843)
+ * (GenCodeChecksum:035576414ddb721b2607522dc5d874e4)
*/
/**
@@ -287,17 +287,7 @@ public static function &export($prefix = FALSE) {
* @return array
*/
public static function indices($localize = TRUE) {
- $indices = [
- 'UI_id' => [
- 'name' => 'UI_id',
- 'field' => [
- 0 => 'id',
- ],
- 'localizable' => FALSE,
- 'unique' => TRUE,
- 'sig' => 'civicrm_financial_type::1::id',
- ],
- ];
+ $indices = [];
return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
}
diff --git a/CRM/Price/DAO/LineItem.php b/CRM/Price/DAO/LineItem.php
index 4649837b1c37..c226921b4b59 100644
--- a/CRM/Price/DAO/LineItem.php
+++ b/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:ce105cf63ee265d470ed263f959a7706)
+ * (GenCodeChecksum:1c10b6b406bb73014b2fbe6ceb95fda3)
*/
/**
@@ -511,27 +511,18 @@ public static function &export($prefix = FALSE) {
*/
public static function indices($localize = TRUE) {
$indices = [
- 'index_entity' => [
- 'name' => 'index_entity',
- 'field' => [
- 0 => 'entity_table',
- 1 => 'entity_id',
- ],
- 'localizable' => FALSE,
- 'sig' => 'civicrm_line_item::0::entity_table::entity_id',
- ],
'UI_line_item_value' => [
'name' => 'UI_line_item_value',
'field' => [
- 0 => 'entity_table',
- 1 => 'entity_id',
+ 0 => 'entity_id',
+ 1 => 'entity_table',
2 => 'contribution_id',
3 => 'price_field_value_id',
4 => 'price_field_id',
],
'localizable' => FALSE,
'unique' => TRUE,
- 'sig' => 'civicrm_line_item::1::entity_table::entity_id::contribution_id::price_field_value_id::price_field_id',
+ 'sig' => 'civicrm_line_item::1::entity_id::entity_table::contribution_id::price_field_value_id::price_field_id',
],
];
return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
diff --git a/xml/schema/Core/EntityFile.xml b/xml/schema/Core/EntityFile.xml
index 37ac0882c101..e2dc7bbd6b5c 100644
--- a/xml/schema/Core/EntityFile.xml
+++ b/xml/schema/Core/EntityFile.xml
@@ -43,12 +43,6 @@
entity_table
1.5
-
- index_entity
- entity_table
- entity_id
- 1.5
-
file_id
File ID
@@ -67,9 +61,9 @@
1.5
- UI_entity_table_entity_id_file_id
- entity_table
+ UI_entity_id_entity_table_file_id
entity_id
+ entity_table
file_id
true
1.1
diff --git a/xml/schema/Financial/FinancialType.xml b/xml/schema/Financial/FinancialType.xml
index c6850f15cea4..cc158141b0f0 100644
--- a/xml/schema/Financial/FinancialType.xml
+++ b/xml/schema/Financial/FinancialType.xml
@@ -97,10 +97,4 @@