Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Core</base> | |
5 | <class>UFMatch</class> | |
6 | <name>civicrm_uf_match</name> | |
7 | <comment>The mapping from an user framework (UF) object to a CRM object.</comment> | |
8 | <add>1.1</add> | |
9 | <log>true</log> | |
10 | <field> | |
8f069c03 EM |
11 | <name>id</name> |
12 | <title>UF Match ID</title> | |
13 | <type>int unsigned</type> | |
14 | <required>true</required> | |
15 | <comment>System generated ID.</comment> | |
0481e12c A |
16 | <html> |
17 | <type>Number</type> | |
18 | </html> | |
8f069c03 | 19 | <add>1.1</add> |
6a488035 TO |
20 | </field> |
21 | <primaryKey> | |
8f069c03 EM |
22 | <name>id</name> |
23 | <autoincrement>true</autoincrement> | |
6a488035 TO |
24 | </primaryKey> |
25 | <field> | |
8f069c03 | 26 | <name>domain_id</name> |
047c5009 | 27 | <title>Domain ID</title> |
8f069c03 EM |
28 | <type>int unsigned</type> |
29 | <required>true</required> | |
30 | <comment>Which Domain is this match entry for</comment> | |
31 | <pseudoconstant> | |
32 | <table>civicrm_domain</table> | |
33 | <keyColumn>id</keyColumn> | |
34 | <labelColumn>name</labelColumn> | |
35 | </pseudoconstant> | |
57e94608 | 36 | <html> |
047c5009 | 37 | <label>Domain</label> |
57e94608 | 38 | </html> |
8f069c03 | 39 | <add>3.0</add> |
6a488035 TO |
40 | </field> |
41 | <foreignKey> | |
8f069c03 EM |
42 | <name>domain_id</name> |
43 | <table>civicrm_domain</table> | |
44 | <key>id</key> | |
45 | <add>3.0</add> | |
3c7d2158 | 46 | </foreignKey> |
6a488035 | 47 | <field> |
8f069c03 EM |
48 | <name>uf_id</name> |
49 | <title>CMS ID</title> | |
50 | <type>int unsigned</type> | |
51 | <required>true</required> | |
52 | <comment>UF ID</comment> | |
53 | <add>1.1</add> | |
6a488035 TO |
54 | </field> |
55 | <index> | |
8f069c03 EM |
56 | <name>I_civicrm_uf_match_uf_id</name> |
57 | <fieldName>uf_id</fieldName> | |
58 | <add>3.3</add> | |
6a488035 TO |
59 | </index> |
60 | <field> | |
8f069c03 EM |
61 | <name>uf_name</name> |
62 | <title>CMS Unique Identifier</title> | |
63 | <type>varchar</type> | |
64 | <length>128</length> | |
65 | <comment>UF Name</comment> | |
66 | <add>1.9.kabissa</add> | |
6a488035 TO |
67 | </field> |
68 | <field> | |
8f069c03 | 69 | <name>contact_id</name> |
047c5009 | 70 | <title>Contact ID</title> |
8f069c03 EM |
71 | <type>int unsigned</type> |
72 | <comment>FK to Contact ID</comment> | |
57e94608 | 73 | <html> |
047c5009 | 74 | <label>Contact</label> |
57e94608 | 75 | </html> |
8f069c03 | 76 | <add>1.1</add> |
6a488035 TO |
77 | </field> |
78 | <foreignKey> | |
8f069c03 EM |
79 | <name>contact_id</name> |
80 | <table>civicrm_contact</table> | |
81 | <key>id</key> | |
82 | <add>1.1</add> | |
83 | <onDelete>CASCADE</onDelete> | |
6a488035 | 84 | </foreignKey> |
6a488035 TO |
85 | <field> |
86 | <name>language</name> | |
61ce9b45 | 87 | <title>Preferred Language</title> |
6a488035 TO |
88 | <type>varchar</type> |
89 | <length>5</length> | |
90 | <comment>UI language preferred by the given user/contact</comment> | |
91 | <add>2.1</add> | |
92 | </field> | |
6a488035 | 93 | <index> |
8f069c03 EM |
94 | <name>UI_uf_name_domain_id</name> |
95 | <fieldName>uf_name</fieldName> | |
96 | <fieldName>domain_id</fieldName> | |
97 | <unique>true</unique> | |
98 | <add>2.1</add> | |
6a488035 TO |
99 | </index> |
100 | <index> | |
101 | <name>UI_contact_domain_id</name> | |
102 | <fieldName>contact_id</fieldName> | |
8f069c03 | 103 | <fieldName>domain_id</fieldName> |
6a488035 TO |
104 | <unique>true</unique> |
105 | <add>1.6</add> | |
106 | </index> | |
107 | </table> |