Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Price</base> | |
9da8dc8c | 5 | <class>PriceSetEntity</class> |
6a488035 TO |
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> | |
71e5aa5c ARW |
35 | <dynamicForeignKey> |
36 | <idColumn>entity_id</idColumn> | |
37 | <typeColumn>entity_table</typeColumn> | |
38 | <add>1.8</add> | |
39 | </dynamicForeignKey> | |
6a488035 TO |
40 | <field> |
41 | <name>price_set_id</name> | |
42 | <type>int unsigned</type> | |
43 | <required>true</required> | |
44 | <comment>price set being used</comment> | |
45 | <add>1.8</add> | |
46 | </field> | |
47 | <foreignKey> | |
48 | <name>price_set_id</name> | |
49 | <table>civicrm_price_set</table> | |
50 | <key>id</key> | |
51 | </foreignKey> | |
52 | <index> | |
53 | <name>UI_entity</name> | |
54 | <fieldName>entity_table</fieldName> | |
55 | <fieldName>entity_id</fieldName> | |
56 | <unique>true</unique> | |
57 | <add>1.8</add> | |
58 | </index> | |
59 | </table> | |
60 |