1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
6 <name>civicrm_im
</name>
7 <comment>IM information for a specific location.
</comment>
12 <title>Instant Messenger ID
</title>
13 <type>int unsigned
</type>
14 <required>true
</required>
15 <comment>Unique IM ID
</comment>
20 <autoincrement>true
</autoincrement>
23 <name>contact_id
</name>
24 <title>IM Contact
</title>
25 <type>int unsigned
</type>
26 <comment>FK to Contact ID
</comment>
30 <name>contact_id
</name>
31 <table>civicrm_contact
</table>
34 <onDelete>CASCADE
</onDelete>
37 <name>location_type_id
</name>
38 <title>IM Location Type
</title>
39 <type>int unsigned
</type>
40 <comment>Which Location does this email belong to.
</comment>
42 <table>civicrm_location_type
</table>
43 <keyColumn>id
</keyColumn>
44 <labelColumn>display_name
</labelColumn>
52 <name>index_location_type
</name>
53 <fieldName>location_type_id
</fieldName>
58 <title>IM Screen Name
</title>
62 <headerPattern>/I(nstant )?M(ess.*)?|screen(\s+)?name/i
</headerPattern>
63 <dataPattern>/^[A-Za-z][
0-
9A-Za-z]{
20,}$/
</dataPattern>
64 <comment>IM screen name
</comment>
71 <name>provider_id
</name>
72 <title>IM Provider
</title>
73 <type>int unsigned
</type>
74 <comment>Which IM Provider does this screen name belong to.
</comment>
77 <optionGroupName>instant_messenger_service
</optionGroupName>
84 <name>UI_provider_id
</name>
85 <fieldName>provider_id
</fieldName>
89 <name>is_primary
</name>
90 <title>Is IM Primary?
</title>
93 <comment>Is this the primary IM for this contact and location.
</comment>
97 <name>index_is_primary
</name>
98 <fieldName>is_primary
</fieldName>
102 <name>is_billing
</name>
103 <title>Is IM Billing?
</title>
106 <comment>Is this the billing?
</comment>
110 <name>index_is_billing
</name>
111 <fieldName>is_billing
</fieldName>