Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Price</base> | |
5 | <class>SetEntity</class> | |
6 | <name>civicrm_price_set_entity</name> | |
7 | <add>1.8</add> | |
8 | <log>true</log> | |
9 | <field> | |
10 | <name>id</name> | |
11 | <type>int unsigned</type> | |
12 | <required>true</required> | |
13 | <comment>Price Set Entity</comment> | |
14 | <add>1.8</add> | |
15 | </field> | |
16 | <primaryKey> | |
17 | <name>id</name> | |
18 | <autoincrement>true</autoincrement> | |
19 | </primaryKey> | |
20 | <field> | |
21 | <name>entity_table</name> | |
22 | <type>varchar</type> | |
23 | <length>64</length> | |
24 | <required>true</required> | |
25 | <comment>Table which uses this price set</comment> | |
26 | <add>1.8</add> | |
27 | </field> | |
28 | <field> | |
29 | <name>entity_id</name> | |
30 | <type>int unsigned</type> | |
31 | <required>true</required> | |
32 | <comment>Item in table</comment> | |
33 | <add>1.8</add> | |
34 | </field> | |
35 | <field> | |
36 | <name>price_set_id</name> | |
37 | <type>int unsigned</type> | |
38 | <required>true</required> | |
39 | <comment>price set being used</comment> | |
40 | <add>1.8</add> | |
41 | </field> | |
42 | <foreignKey> | |
43 | <name>price_set_id</name> | |
44 | <table>civicrm_price_set</table> | |
45 | <key>id</key> | |
46 | </foreignKey> | |
47 | <index> | |
48 | <name>UI_entity</name> | |
49 | <fieldName>entity_table</fieldName> | |
50 | <fieldName>entity_id</fieldName> | |
51 | <unique>true</unique> | |
52 | <add>1.8</add> | |
53 | </index> | |
54 | </table> | |
55 |