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>
40 <table>civicrm_location_type
</table>
41 <keyColumn>id
</keyColumn>
42 <labelColumn>display_name
</labelColumn>
47 <name>index_location_type
</name>
48 <fieldName>location_type_id
</fieldName>
53 <title>IM Screen Name
</title>
57 <headerPattern>/I(nstant )?M(ess.*)?|screen(\s+)?name/i
</headerPattern>
58 <dataPattern>/^[A-Za-z][
0-
9A-Za-z]{
20,}$/
</dataPattern>
59 <comment>IM screen name
</comment>
63 <name>provider_id
</name>
64 <title>IM Provider
</title>
65 <type>int unsigned
</type>
66 <comment>Which IM Provider does this screen name belong to.
</comment>
69 <optionGroupName>instant_messenger_service
</optionGroupName>
76 <name>UI_provider_id
</name>
77 <fieldName>provider_id
</fieldName>
81 <name>is_primary
</name>
82 <title>Is IM Primary?
</title>
85 <comment>Is this the primary IM for this contact and location.
</comment>
89 <name>index_is_primary
</name>
90 <fieldName>is_primary
</fieldName>
94 <name>is_billing
</name>
97 <comment>Is this the billing?
</comment>
101 <name>index_is_billing
</name>
102 <fieldName>is_billing
</fieldName>