<add>1.1</add>
<log>true</log>
<field>
- <name>id</name>
- <type>int unsigned</type>
- <required>true</required>
- <comment>Unique Phone ID</comment>
- <add>1.1</add>
+ <name>id</name>
+ <title>Phone ID</title>
+ <type>int unsigned</type>
+ <required>true</required>
+ <comment>Unique Phone ID</comment>
+ <add>1.1</add>
</field>
<primaryKey>
- <name>id</name>
- <autoincrement>true</autoincrement>
+ <name>id</name>
+ <autoincrement>true</autoincrement>
</primaryKey>
<field>
- <name>contact_id</name>
- <type>int unsigned</type>
- <comment>FK to Contact ID</comment>
- <add>2.0</add>
+ <name>contact_id</name>
+ <title>Phone Contact</title>
+ <type>int unsigned</type>
+ <comment>FK to Contact ID</comment>
+ <add>2.0</add>
</field>
<foreignKey>
- <name>contact_id</name>
- <table>civicrm_contact</table>
- <key>id</key>
- <add>2.0</add>
- <onDelete>CASCADE</onDelete>
+ <name>contact_id</name>
+ <table>civicrm_contact</table>
+ <key>id</key>
+ <add>2.0</add>
+ <onDelete>CASCADE</onDelete>
</foreignKey>
<field>
- <name>location_type_id</name>
- <title>Phone Location Type</title>
- <type>int unsigned</type>
- <comment>Which Location does this phone belong to.</comment>
- <pseudoconstant>
- <table>civicrm_location_type</table>
- <keyColumn>id</keyColumn>
- <labelColumn>display_name</labelColumn>
- </pseudoconstant>
- <html>
- <type>Select</type>
- </html>
- <add>2.0</add>
+ <name>location_type_id</name>
+ <title>Phone Location Type</title>
+ <type>int unsigned</type>
+ <comment>Which Location does this phone belong to.</comment>
+ <pseudoconstant>
+ <table>civicrm_location_type</table>
+ <keyColumn>id</keyColumn>
+ <labelColumn>display_name</labelColumn>
+ </pseudoconstant>
+ <html>
+ <type>Select</type>
+ </html>
+ <add>2.0</add>
</field>
<index>
<name>index_location_type</name>
<add>2.0</add>
</index>
<field>
- <name>is_primary</name>
- <title>Is Phone Primary?</title>
- <type>boolean</type>
- <default>0</default>
- <comment>Is this the primary phone for this contact and location.</comment>
- <add>1.1</add>
+ <name>is_primary</name>
+ <title>Is Phone Primary?</title>
+ <type>boolean</type>
+ <default>0</default>
+ <comment>Is this the primary phone for this contact and location.</comment>
+ <add>1.1</add>
</field>
<index>
<name>index_is_primary</name>
<add>2.0</add>
</index>
<field>
- <name>is_billing</name>
- <type>boolean</type>
- <default>0</default>
- <comment>Is this the billing?</comment>
- <add>2.0</add>
+ <name>is_billing</name>
+ <title>Is Billing Phone</title>
+ <type>boolean</type>
+ <default>0</default>
+ <comment>Is this the billing?</comment>
+ <add>2.0</add>
</field>
<index>
<name>index_is_billing</name>
<add>2.0</add>
</index>
<field>
- <name>mobile_provider_id</name>
- <type>int unsigned</type>
- <comment>Which Mobile Provider does this phone belong to.</comment>
- <add>1.1</add>
+ <name>mobile_provider_id</name>
+ <type>int unsigned</type>
+ <comment>Which Mobile Provider does this phone belong to.</comment>
+ <add>1.1</add>
</field>
<index>
- <name>UI_mobile_provider_id</name>
- <fieldName>mobile_provider_id</fieldName>
- <add>1.6</add>
+ <name>UI_mobile_provider_id</name>
+ <fieldName>mobile_provider_id</fieldName>
+ <add>1.6</add>
</index>
<field>
- <name>phone</name>
- <type>varchar</type>
- <length>32</length>
- <import>true</import>
- <headerPattern>/phone/i</headerPattern>
- <dataPattern>/^[\d\(\)\-\.\s]+$/</dataPattern>
- <comment>Complete phone number.</comment>
- <add>1.1</add>
+ <name>phone</name>
+ <type>varchar</type>
+ <length>32</length>
+ <import>true</import>
+ <headerPattern>/phone/i</headerPattern>
+ <dataPattern>/^[\d\(\)\-\.\s]+$/</dataPattern>
+ <comment>Complete phone number.</comment>
+ <add>1.1</add>
</field>
<field>
- <name>phone_ext</name>
- <title>Phone Extension</title>
- <type>varchar</type>
- <length>16</length>
- <html>
- <type>Text</type>
- <size>FOUR</size>
- </html>
- <import>true</import>
- <export>true</export>
- <headerPattern>/extension/i</headerPattern>
- <dataPattern>/^\d+$/</dataPattern>
- <comment>Optional extension for a phone number.</comment>
- <add>3.3</add>
+ <name>phone_ext</name>
+ <title>Phone Extension</title>
+ <type>varchar</type>
+ <length>16</length>
+ <html>
+ <type>Text</type>
+ <size>FOUR</size>
+ </html>
+ <import>true</import>
+ <export>true</export>
+ <headerPattern>/extension/i</headerPattern>
+ <dataPattern>/^\d+$/</dataPattern>
+ <comment>Optional extension for a phone number.</comment>
+ <add>3.3</add>
</field>
<field>
- <name>phone_numeric</name>
- <type>varchar</type>
- <length>32</length>
- <comment>Phone number stripped of all whitespace, letters, and punctuation.</comment>
- <add>4.3</add>
+ <name>phone_numeric</name>
+ <type>varchar</type>
+ <length>32</length>
+ <comment>Phone number stripped of all whitespace, letters, and punctuation.</comment>
+ <add>4.3</add>
</field>
<index>
<name>index_phone_numeric</name>
<add>4.3</add>
</index>
<field>
- <name>phone_type</name>
- <type>enum</type>
- <values>Phone, Mobile, Fax, Pager</values>
- <headerPattern>/phone\s+type/i</headerPattern>
- <dataPattern>/phone|mobile|fax|pager/i</dataPattern>
- <comment>What type of telecom device is this.</comment>
- <add>1.1</add>
- <drop>2.2</drop>
+ <name>phone_type</name>
+ <type>enum</type>
+ <values>Phone, Mobile, Fax, Pager</values>
+ <headerPattern>/phone\s+type/i</headerPattern>
+ <dataPattern>/phone|mobile|fax|pager/i</dataPattern>
+ <comment>What type of telecom device is this.</comment>
+ <add>1.1</add>
+ <drop>2.2</drop>
</field>
<field>
- <name>phone_type_id</name>
- <title>Phone Type</title>
- <type>int unsigned</type>
- <comment>Which type of phone does this number belongs.</comment>
- <pseudoconstant>
- <optionGroupName>phone_type</optionGroupName>
- </pseudoconstant>
- <html>
- <type>Select</type>
- </html>
- <add>2.2</add>
+ <name>phone_type_id</name>
+ <title>Phone Type</title>
+ <type>int unsigned</type>
+ <comment>Which type of phone does this number belongs.</comment>
+ <pseudoconstant>
+ <optionGroupName>phone_type</optionGroupName>
+ </pseudoconstant>
+ <html>
+ <type>Select</type>
+ </html>
+ <add>2.2</add>
</field>
</table>
<add>4.1</add>
<field>
<name>id</name>
+ <title>Setting ID</title>
<type>int unsigned</type>
<required>true</required>
<add>4.1</add>
</primaryKey>
<field>
<name>group_name</name>
+ <title>Setting Group</title>
<type>varchar</type>
<length>64</length>
<required>true</required>
</field>
<field>
<name>name</name>
+ <title>Setting Name</title>
<type>varchar</type>
<length>255</length>
<comment>Unique name for setting</comment>
</field>
<field>
<name>domain_id</name>
+ <title>Setting Domain</title>
<type>int unsigned</type>
<required>true</required>
<pseudoconstant>
</foreignKey>
<field>
<name>contact_id</name>
+ <title>Setting Contact</title>
<type>int unsigned</type>
<comment>FK to Contact ID if the setting is localized to a contact</comment>
<add>4.1</add>
</foreignKey>
<field>
<name>is_domain</name>
+ <title>Is Domain Setting?</title>
<type>boolean</type>
<comment>Is this setting a contact specific or site wide setting?</comment>
<add>4.1</add>
</field>
<field>
<name>component_id</name>
+ <title>Setting Component</title>
<type>int unsigned</type>
<comment>Component that this menu item belongs to</comment>
<add>4.1</add>
</foreignKey>
<field>
<name>created_date</name>
+ <title>Setting Created Date</title>
<type>datetime</type>
<comment>When was the setting created</comment>
<add>4.1</add>
</field>
<field>
<name>created_id</name>
+ <title>Setting Created By</title>
<type>int unsigned</type>
<comment>FK to civicrm_contact, who created this setting</comment>
<add>4.1</add>