Add more schema titles
[civicrm-core.git] / xml / schema / Price / PriceSetEntity.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Price</base>
5 <class>PriceSetEntity</class>
6 <name>civicrm_price_set_entity</name>
7 <add>1.8</add>
8 <log>true</log>
9 <field>
10 <name>id</name>
11 <title>Price Set Entity ID</title>
12 <type>int unsigned</type>
13 <required>true</required>
14 <comment>Price Set Entity</comment>
15 <add>1.8</add>
16 </field>
17 <primaryKey>
18 <name>id</name>
19 <autoincrement>true</autoincrement>
20 </primaryKey>
21 <field>
22 <name>entity_table</name>
23 <title>Entity Table</title>
24 <type>varchar</type>
25 <length>64</length>
26 <required>true</required>
27 <comment>Table which uses this price set</comment>
28 <add>1.8</add>
29 </field>
30 <field>
31 <name>entity_id</name>
32 <title>Entity IF</title>
33 <type>int unsigned</type>
34 <required>true</required>
35 <comment>Item in table</comment>
36 <add>1.8</add>
37 </field>
38 <dynamicForeignKey>
39 <idColumn>entity_id</idColumn>
40 <typeColumn>entity_table</typeColumn>
41 <add>1.8</add>
42 </dynamicForeignKey>
43 <field>
44 <name>price_set_id</name>
45 <title>Price Set</title>
46 <type>int unsigned</type>
47 <required>true</required>
48 <comment>price set being used</comment>
49 <add>1.8</add>
50 </field>
51 <foreignKey>
52 <name>price_set_id</name>
53 <table>civicrm_price_set</table>
54 <key>id</key>
55 </foreignKey>
56 <index>
57 <name>UI_entity</name>
58 <fieldName>entity_table</fieldName>
59 <fieldName>entity_id</fieldName>
60 <unique>true</unique>
61 <add>1.8</add>
62 </index>
63 </table>
64