Merge pull request #19061 from christianwach/lab-core-2217
[civicrm-core.git] / xml / schema / Price / PriceSetEntity.xml
index a6ec3c2713aade824751e960d81b49a9cf96ed26..effc85ad2c7289bb37b80e89d52f44521ae6b005 100644 (file)
@@ -6,8 +6,10 @@
   <name>civicrm_price_set_entity</name>
   <add>1.8</add>
   <log>true</log>
+  <component>CiviContribute</component>
   <field>
     <name>id</name>
+    <title>Price Set Entity ID</title>
     <type>int unsigned</type>
     <required>true</required>
     <comment>Price Set Entity</comment>
@@ -19,6 +21,7 @@
   </primaryKey>
   <field>
     <name>entity_table</name>
+    <title>Entity Table</title>
     <type>varchar</type>
     <length>64</length>
     <required>true</required>
@@ -27,6 +30,7 @@
   </field>
   <field>
     <name>entity_id</name>
+    <title>Entity IF</title>
     <type>int unsigned</type>
     <required>true</required>
     <comment>Item in table</comment>
   </dynamicForeignKey>
   <field>
     <name>price_set_id</name>
+    <title>Price Set</title>
     <type>int unsigned</type>
     <required>true</required>
     <comment>price set being used</comment>
     <add>1.8</add>
+    <pseudoconstant>
+      <table>civicrm_price_set</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>title</labelColumn>
+    </pseudoconstant>
   </field>
   <foreignKey>
     <name>price_set_id</name>
@@ -57,4 +67,3 @@
     <add>1.8</add>
   </index>
 </table>
-