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>
49 <name>index_location_type
</name>
50 <fieldName>location_type_id
</fieldName>
55 <title>IM Screen Name
</title>
59 <headerPattern>/I(nstant )?M(ess.*)?|screen(\s+)?name/i
</headerPattern>
60 <dataPattern>/^[A-Za-z][
0-
9A-Za-z]{
20,}$/
</dataPattern>
61 <comment>IM screen name
</comment>
65 <name>provider_id
</name>
66 <title>IM Provider
</title>
67 <type>int unsigned
</type>
68 <comment>Which IM Provider does this screen name belong to.
</comment>
71 <optionGroupName>instant_messenger_service
</optionGroupName>
78 <name>UI_provider_id
</name>
79 <fieldName>provider_id
</fieldName>
83 <name>is_primary
</name>
84 <title>Is IM Primary?
</title>
87 <comment>Is this the primary IM for this contact and location.
</comment>
91 <name>index_is_primary
</name>
92 <fieldName>is_primary
</fieldName>
96 <name>is_billing
</name>
97 <title>Is IM Billing?
</title>
100 <comment>Is this the billing?
</comment>
104 <name>index_is_billing
</name>
105 <fieldName>is_billing
</fieldName>