Merge pull request #8177 from herbdool/backdrop-install
[civicrm-core.git] / xml / schema / Core / UFJoin.xml
index f0aae07b34cb97ba703d7c98e75c75ec5e63875e..54b291fd0838ae60b9c357c241f4a1d08262d85b 100644 (file)
@@ -42,6 +42,9 @@
     <type>varchar</type>
     <length>64</length>
     <comment>Name of table where item being referenced is stored. Modules which only need a single collection of uf_join instances may choose not to populate entity_table and entity_id.</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_BAO_UFJoin::entityTables</callback>
+    </pseudoconstant>
     <add>1.3</add>
   </field>
   <field>
@@ -58,7 +61,6 @@
   </dynamicForeignKey>
   <index>
     <name>index_entity</name>
-    <add>1.3</add>
     <fieldName>entity_table</fieldName>
     <fieldName>entity_id</fieldName>
     <add>1.3</add>