1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
6 <name>civicrm_im
</name>
7 <comment>IM information for a specific location.
</comment>
12 <type>int unsigned
</type>
13 <required>true
</required>
14 <comment>Unique IM ID
</comment>
19 <autoincrement>true
</autoincrement>
22 <name>contact_id
</name>
23 <type>int unsigned
</type>
24 <comment>FK to Contact ID
</comment>
28 <name>contact_id
</name>
29 <table>civicrm_contact
</table>
32 <onDelete>CASCADE
</onDelete>
35 <name>location_type_id
</name>
36 <title>IM Location Type
</title>
37 <type>int unsigned
</type>
38 <comment>Which Location does this email belong to.
</comment>
42 <name>index_location_type
</name>
43 <fieldName>location_type_id
</fieldName>
48 <title>IM Screen Name
</title>
52 <headerPattern>/I(nstant )?M(ess.*)?|screen(\s+)?name/i
</headerPattern>
53 <dataPattern>/^[A-Za-z][
0-
9A-Za-z]{
20,}$/
</dataPattern>
54 <comment>IM screen name
</comment>
58 <name>provider_id
</name>
59 <title>IM Provider
</title>
60 <type>int unsigned
</type>
61 <comment>Which IM Provider does this screen name belong to.
</comment>
64 <optionGroupName>instant_messenger_service
</optionGroupName>
68 <name>UI_provider_id
</name>
69 <fieldName>provider_id
</fieldName>
73 <name>is_primary
</name>
74 <title>Is IM Primary?
</title>
77 <comment>Is this the primary IM for this contact and location.
</comment>
81 <name>index_is_primary
</name>
82 <fieldName>is_primary
</fieldName>
86 <name>is_billing
</name>
89 <comment>Is this the billing?
</comment>
93 <name>index_is_billing
</name>
94 <fieldName>is_billing
</fieldName>