<name>civicrm_county</name>
<add>1.1</add>
<field>
- <name>id</name>
- <type>int unsigned</type>
- <required>true</required>
- <comment>County ID</comment>
- <add>1.1</add>
+ <name>id</name>
+ <type>int unsigned</type>
+ <required>true</required>
+ <comment>County ID</comment>
+ <add>1.1</add>
</field>
<primaryKey>
- <name>id</name>
- <autoincrement>false</autoincrement>
+ <name>id</name>
+ <autoincrement>false</autoincrement>
</primaryKey>
<field>
- <name>name</name>
- <title>County</title>
- <type>varchar</type>
- <length>64</length>
- <import>true</import>
- <headerPattern>/county/i</headerPattern>
- <dataPattern>/[A-Z]{2}/</dataPattern>
- <comment>Name of County</comment>
- <add>1.1</add>
+ <name>name</name>
+ <title>County</title>
+ <type>varchar</type>
+ <length>64</length>
+ <import>true</import>
+ <headerPattern>/county/i</headerPattern>
+ <dataPattern>/[A-Z]{2}/</dataPattern>
+ <comment>Name of County</comment>
+ <add>1.1</add>
</field>
<field>
- <name>abbreviation</name>
- <title>County Abbreviation</title>
- <type>varchar</type>
- <length>4</length>
- <comment>2-4 Character Abbreviation of County</comment>
- <add>1.1</add>
+ <name>abbreviation</name>
+ <title>County Abbreviation</title>
+ <type>varchar</type>
+ <length>4</length>
+ <comment>2-4 Character Abbreviation of County</comment>
+ <add>1.1</add>
</field>
<field>
- <name>state_province_id</name>
- <type>int unsigned</type>
- <required>true</required>
- <comment>ID of State / Province that County belongs</comment>
- <add>1.1</add>
+ <name>state_province_id</name>
+ <type>int unsigned</type>
+ <required>true</required>
+ <comment>ID of State / Province that County belongs</comment>
+ <add>1.1</add>
</field>
<foreignKey>
- <name>state_province_id</name>
- <table>civicrm_state_province</table>
- <key>id</key>
- <add>1.1</add>
+ <name>state_province_id</name>
+ <table>civicrm_state_province</table>
+ <key>id</key>
+ <add>1.1</add>
</foreignKey>
<index>
<name>UI_name_state_id</name>
<add>1.1</add>
<log>true</log>
<field>
- <name>id</name>
- <type>int unsigned</type>
- <required>true</required>
- <comment>Unique Custom Field ID</comment>
- <add>1.1</add>
+ <name>id</name>
+ <type>int unsigned</type>
+ <required>true</required>
+ <comment>Unique Custom Field ID</comment>
+ <add>1.1</add>
</field>
<primaryKey>
- <name>id</name>
- <autoincrement>true</autoincrement>
+ <name>id</name>
+ <autoincrement>true</autoincrement>
</primaryKey>
<field>
- <name>custom_group_id</name>
- <type>int unsigned</type>
- <required>true</required>
- <comment>FK to civicrm_custom_group.</comment>
- <add>1.1</add>
- <pseudoconstant>
- <table>civicrm_custom_group</table>
- <keyColumn>id</keyColumn>
- <labelColumn>title</labelColumn>
- </pseudoconstant>
- <html>
- <type>Select</type>
- </html>
+ <name>custom_group_id</name>
+ <type>int unsigned</type>
+ <required>true</required>
+ <comment>FK to civicrm_custom_group.</comment>
+ <add>1.1</add>
+ <pseudoconstant>
+ <table>civicrm_custom_group</table>
+ <keyColumn>id</keyColumn>
+ <labelColumn>title</labelColumn>
+ </pseudoconstant>
+ <html>
+ <type>Select</type>
+ </html>
</field>
<foreignKey>
- <name>custom_group_id</name>
- <table>civicrm_custom_group</table>
- <key>id</key>
- <add>1.1</add>
- <onDelete>CASCADE</onDelete>
+ <name>custom_group_id</name>
+ <table>civicrm_custom_group</table>
+ <key>id</key>
+ <add>1.1</add>
+ <onDelete>CASCADE</onDelete>
</foreignKey>
<field>
- <name>name</name>
- <type>varchar</type>
- <length>64</length>
- <comment>Variable name/programmatic handle for this group.</comment>
- <add>3.3</add>
+ <name>name</name>
+ <type>varchar</type>
+ <length>64</length>
+ <comment>Variable name/programmatic handle for this group.</comment>
+ <add>3.3</add>
</field>
<field>
- <name>label</name>
- <type>varchar</type>
- <length>255</length>
- <required>true</required>
- <localizable>true</localizable>
- <comment>Text for form field label (also friendly name for administering this custom property).</comment>
- <add>1.1</add>
+ <name>label</name>
+ <type>varchar</type>
+ <length>255</length>
+ <required>true</required>
+ <localizable>true</localizable>
+ <comment>Text for form field label (also friendly name for administering this custom property).</comment>
+ <add>1.1</add>
</field>
<field>
- <name>data_type</name>
- <type>varchar</type>
- <length>16</length>
- <required>true</required>
- <comment>Controls location of data storage in extended_data table.</comment>
- <pseudoconstant>
- <callback>CRM_Core_BAO_CustomField::dataType</callback>
- </pseudoconstant>
- <add>1.1</add>
- <html>
- <type>Select</type>
- </html>
+ <name>data_type</name>
+ <type>varchar</type>
+ <length>16</length>
+ <required>true</required>
+ <comment>Controls location of data storage in extended_data table.</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_BAO_CustomField::dataType</callback>
+ </pseudoconstant>
+ <add>1.1</add>
+ <html>
+ <type>Select</type>
+ </html>
</field>
<field>
- <name>html_type</name>
- <type>varchar</type>
- <length>32</length>
- <required>true</required>
- <comment>HTML types plus several built-in extended types.</comment>
- <pseudoconstant>
- <callback>CRM_Core_SelectValues::customHtmlType</callback>
- </pseudoconstant>
- <add>1.1</add>
+ <name>html_type</name>
+ <type>varchar</type>
+ <length>32</length>
+ <required>true</required>
+ <comment>HTML types plus several built-in extended types.</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::customHtmlType</callback>
+ </pseudoconstant>
+ <add>1.1</add>
</field>
<field>
- <name>default_value</name>
- <type>varchar</type>
- <length>255</length>
- <comment>Use form_options.is_default for field_types which use options.</comment>
- <add>1.1</add>
+ <name>default_value</name>
+ <type>varchar</type>
+ <length>255</length>
+ <comment>Use form_options.is_default for field_types which use options.</comment>
+ <add>1.1</add>
</field>
<field>
- <name>is_required</name>
- <type>boolean</type>
- <comment>Is a value required for this property.</comment>
- <add>1.1</add>
+ <name>is_required</name>
+ <type>boolean</type>
+ <comment>Is a value required for this property.</comment>
+ <add>1.1</add>
</field>
<field>
- <name>is_searchable</name>
- <type>boolean</type>
- <comment>Is this property searchable.</comment>
- <add>1.1</add>
+ <name>is_searchable</name>
+ <type>boolean</type>
+ <comment>Is this property searchable.</comment>
+ <add>1.1</add>
</field>
<field>
- <name>is_search_range</name>
- <type>boolean</type>
- <comment>Is this property range searchable.</comment>
- <add>1.4</add>
- <default>0</default>
+ <name>is_search_range</name>
+ <type>boolean</type>
+ <comment>Is this property range searchable.</comment>
+ <add>1.4</add>
+ <default>0</default>
</field>
<field>
- <name>weight</name>
- <type>int</type>
- <required>true</required>
- <default>1</default>
- <comment>Controls field display order within an extended property group.</comment>
- <add>1.1</add>
+ <name>weight</name>
+ <type>int</type>
+ <required>true</required>
+ <default>1</default>
+ <comment>Controls field display order within an extended property group.</comment>
+ <add>1.1</add>
</field>
<field>
- <name>help_pre</name>
- <type>text</type>
- <localizable>true</localizable>
- <comment>Description and/or help text to display before this field.</comment>
- <add>1.1</add>
+ <name>help_pre</name>
+ <type>text</type>
+ <localizable>true</localizable>
+ <comment>Description and/or help text to display before this field.</comment>
+ <add>1.1</add>
</field>
<field>
- <name>help_post</name>
- <type>text</type>
- <localizable>true</localizable>
- <comment>Description and/or help text to display after this field.</comment>
- <add>1.1</add>
+ <name>help_post</name>
+ <type>text</type>
+ <localizable>true</localizable>
+ <comment>Description and/or help text to display after this field.</comment>
+ <add>1.1</add>
</field>
<field>
- <name>mask</name>
- <type>varchar</type>
- <length>64</length>
- <comment>Optional format instructions for specific field types, like date types.</comment>
- <add>1.1</add>
+ <name>mask</name>
+ <type>varchar</type>
+ <length>64</length>
+ <comment>Optional format instructions for specific field types, like date types.</comment>
+ <add>1.1</add>
</field>
<field>
- <name>attributes</name>
- <type>varchar</type>
- <length>255</length>
- <comment>Store collection of type-appropriate attributes, e.g. textarea needs rows/cols attributes</comment>
- <add>1.1</add>
+ <name>attributes</name>
+ <type>varchar</type>
+ <length>255</length>
+ <comment>Store collection of type-appropriate attributes, e.g. textarea needs rows/cols attributes</comment>
+ <add>1.1</add>
</field>
<field>
- <name>javascript</name>
- <type>varchar</type>
- <length>255</length>
- <comment>Optional scripting attributes for field.</comment>
- <add>1.1</add>
+ <name>javascript</name>
+ <type>varchar</type>
+ <length>255</length>
+ <comment>Optional scripting attributes for field.</comment>
+ <add>1.1</add>
</field>
<field>
- <name>is_active</name>
- <type>boolean</type>
- <comment>Is this property active?</comment>
- <add>1.1</add>
+ <name>is_active</name>
+ <type>boolean</type>
+ <comment>Is this property active?</comment>
+ <add>1.1</add>
</field>
<field>
- <name>is_view</name>
- <type>boolean</type>
- <comment>Is this property set by PHP Code? A code field is viewable but not editable</comment>
- <add>1.1</add>
+ <name>is_view</name>
+ <type>boolean</type>
+ <comment>Is this property set by PHP Code? A code field is viewable but not editable</comment>
+ <add>1.1</add>
</field>
<field>
- <name>options_per_line</name>
- <type>int unsigned</type>
- <comment>number of options per line for checkbox and radio</comment>
+ <name>options_per_line</name>
+ <type>int unsigned</type>
+ <comment>number of options per line for checkbox and radio</comment>
</field>
<field>
- <name>text_length</name>
- <type>int unsigned</type>
- <comment>field length if alphanumeric</comment>
- <add>2.2</add>
+ <name>text_length</name>
+ <type>int unsigned</type>
+ <comment>field length if alphanumeric</comment>
+ <add>2.2</add>
</field>
<field>
- <name>start_date_years</name>
- <type>int</type>
- <comment>Date may be up to start_date_years years prior to the current date.</comment>
- <add>1.4</add>
+ <name>start_date_years</name>
+ <type>int</type>
+ <comment>Date may be up to start_date_years years prior to the current date.</comment>
+ <add>1.4</add>
</field>
<field>
- <name>end_date_years</name>
- <type>int</type>
- <comment>Date may be up to end_date_years years after the current date.</comment>
- <add>1.4</add>
+ <name>end_date_years</name>
+ <type>int</type>
+ <comment>Date may be up to end_date_years years after the current date.</comment>
+ <add>1.4</add>
</field>
<field>
- <name>date_parts</name>
- <type>varchar</type>
- <length>255</length>
- <comment>which date part included in display </comment>
- <add>1.4</add>
- <drop>3.1</drop>
+ <name>date_parts</name>
+ <type>varchar</type>
+ <length>255</length>
+ <comment>which date part included in display </comment>
+ <add>1.4</add>
+ <drop>3.1</drop>
</field>
<field>
- <name>date_format</name>
- <type>varchar</type>
- <length>64</length>
- <comment>date format for custom date</comment>
- <add>3.1</add>
+ <name>date_format</name>
+ <type>varchar</type>
+ <length>64</length>
+ <comment>date format for custom date</comment>
+ <add>3.1</add>
</field>
<field>
- <name>time_format</name>
- <type>int unsigned</type>
- <comment>time format for custom date</comment>
- <add>3.1</add>
+ <name>time_format</name>
+ <type>int unsigned</type>
+ <comment>time format for custom date</comment>
+ <add>3.1</add>
</field>
<field>
- <name>note_columns</name>
- <type>int unsigned</type>
- <comment> Number of columns in Note Field </comment>
- <add>1.4</add>
+ <name>note_columns</name>
+ <type>int unsigned</type>
+ <comment> Number of columns in Note Field </comment>
+ <add>1.4</add>
</field>
<field>
- <name>note_rows</name>
- <type>int unsigned</type>
- <comment> Number of rows in Note Field </comment>
- <add>1.4</add>
+ <name>note_rows</name>
+ <type>int unsigned</type>
+ <comment> Number of rows in Note Field </comment>
+ <add>1.4</add>
</field>
<field>
- <name>column_name</name>
- <type>varchar</type>
- <length>255</length>
- <comment>Name of the column that holds the values for this field.</comment>
- <add>2.0</add>
+ <name>column_name</name>
+ <type>varchar</type>
+ <length>255</length>
+ <comment>Name of the column that holds the values for this field.</comment>
+ <add>2.0</add>
</field>
<field>
- <name>option_group_id</name>
- <type>int unsigned</type>
- <comment>For elements with options, the option group id that is used</comment>
- <add>1.4</add>
+ <name>option_group_id</name>
+ <type>int unsigned</type>
+ <comment>For elements with options, the option group id that is used</comment>
+ <add>1.4</add>
</field>
<field>
- <name>filter</name>
- <type>varchar</type>
- <length>255</length>
- <comment>Stores Contact Get API params contact reference custom fields. May be used for other filters in the future.</comment>
- <add>4.1</add>
+ <name>filter</name>
+ <type>varchar</type>
+ <length>255</length>
+ <comment>Stores Contact Get API params contact reference custom fields. May be used for other filters in the future.</comment>
+ <add>4.1</add>
</field>
<field>
<name>in_selector</name>
<base>CRM/Core</base>
<class>CustomGroup</class>
<name>civicrm_custom_group</name>
- <comment>All extended (custom) properties are associated with a group. These are logical sets of related data.</comment>
+ <comment>All extended (custom) properties are associated with a group. These are logical sets of related data.
+ </comment>
<add>1.1</add>
<log>true</log>
- <field>
- <name>id</name>
- <type>int unsigned</type>
- <required>true</required>
- <comment>Unique Custom Group ID</comment>
- <add>1.1</add>
+ <field>
+ <name>id</name>
+ <type>int unsigned</type>
+ <required>true</required>
+ <comment>Unique Custom Group ID</comment>
+ <add>1.1</add>
</field>
<primaryKey>
- <name>id</name>
- <autoincrement>true</autoincrement>
+ <name>id</name>
+ <autoincrement>true</autoincrement>
</primaryKey>
<field>
- <name>name</name>
- <type>varchar</type>
- <length>64</length>
- <comment>Variable name/programmatic handle for this group.</comment>
- <add>1.1</add>
- </field>
- <field>
- <name>title</name>
- <type>varchar</type>
- <length>64</length>
- <required>true</required>
- <localizable>true</localizable>
- <comment>Friendly Name.</comment>
- <add>1.1</add>
- </field>
- <field>
- <name>extends</name>
- <type>varchar</type>
- <length>255</length>
- <default>'Contact'</default>
- <comment>Type of object this group extends (can add other options later e.g. contact_address, etc.).</comment>
- <add>1.1</add>
- </field>
- <field>
- <name>extends_entity_column_name</name>
- <type>varchar</type>
- <length>64</length>
- <comment>linking custom group for dynamic object</comment>
- <add>1.6</add>
- <drop>2.2</drop>
- </field>
- <field>
- <name>extends_entity_column_id</name>
- <type>int unsigned</type>
- <default>NULL</default>
- <comment>FK to civicrm_option_value.id (for option group custom_data_type.)</comment>
- <add>2.2</add>
- </field>
- <field>
- <name>extends_entity_column_value</name>
- <type>varchar</type>
- <length>255</length>
- <comment>linking custom group for dynamic object</comment>
- <add>1.6</add>
- </field>
- <field>
- <name>style</name>
- <type>varchar</type>
- <length>15</length>
- <comment>Visual relationship between this form and its parent.</comment>
- <pseudoconstant>
- <callback>CRM_Core_SelectValues::customGroupStyle</callback>
- </pseudoconstant>
- <add>1.1</add>
- <html>
- <type>Select</type>
- </html>
- </field>
- <field>
- <name>collapse_display</name>
- <type>int unsigned</type>
- <default>0</default>
- <comment>Will this group be in collapsed or expanded mode on initial display ?</comment>
- <add>1.1</add>
- </field>
- <field>
- <name>help_pre</name>
- <type>text</type>
- <localizable>true</localizable>
- <comment>Description and/or help text to display before fields in form.</comment>
- <html>
- <type>TextArea</type>
- <rows>4</rows>
- <cols>80</cols>
- </html>
- <add>1.1</add>
- </field>
- <field>
- <name>help_post</name>
- <type>text</type>
- <localizable>true</localizable>
- <comment>Description and/or help text to display after fields in form.</comment>
- <html>
- <type>TextArea</type>
- <rows>4</rows>
- <cols>80</cols>
- </html>
- <add>1.1</add>
- </field>
- <field>
- <name>weight</name>
- <type>int</type>
- <required>true</required>
- <default>1</default>
- <comment>Controls display order when multiple extended property groups are setup for the same class.</comment>
- <add>1.1</add>
- </field>
- <field>
- <name>is_active</name>
- <type>boolean</type>
- <comment>Is this property active?</comment>
- <add>1.1</add>
- </field>
- <field>
- <name>table_name</name>
- <type>varchar</type>
- <length>255</length>
- <comment>Name of the table that holds the values for this group.</comment>
- <add>2.0</add>
- </field>
- <field>
- <name>is_multiple</name>
- <type>boolean</type>
- <comment>Does this group hold multiple values?</comment>
- <add>2.0</add>
- </field>
- <field>
- <name>min_multiple</name>
- <type>int unsigned</type>
- <comment>minimum number of multiple records (typically 0?)</comment>
- <add>2.2</add>
- </field>
- <field>
- <name>max_multiple</name>
- <type>int unsigned</type>
- <comment>maximum number of multiple records, if 0 - no max</comment>
- <add>2.2</add>
- </field>
- <field>
- <name>collapse_adv_display</name>
- <type>int unsigned</type>
- <default>0</default>
- <comment>Will this group be in collapsed or expanded mode on advanced search display ?</comment>
- <add>3.0</add>
+ <name>name</name>
+ <type>varchar</type>
+ <length>64</length>
+ <comment>Variable name/programmatic handle for this group.</comment>
+ <add>1.1</add>
+ </field>
+ <field>
+ <name>title</name>
+ <type>varchar</type>
+ <length>64</length>
+ <required>true</required>
+ <localizable>true</localizable>
+ <comment>Friendly Name.</comment>
+ <add>1.1</add>
+ </field>
+ <field>
+ <name>extends</name>
+ <type>varchar</type>
+ <length>255</length>
+ <default>'Contact'</default>
+ <comment>Type of object this group extends (can add other options later e.g. contact_address, etc.).</comment>
+ <add>1.1</add>
+ </field>
+ <field>
+ <name>extends_entity_column_name</name>
+ <type>varchar</type>
+ <length>64</length>
+ <comment>linking custom group for dynamic object</comment>
+ <add>1.6</add>
+ <drop>2.2</drop>
+ </field>
+ <field>
+ <name>extends_entity_column_id</name>
+ <type>int unsigned</type>
+ <default>NULL</default>
+ <comment>FK to civicrm_option_value.id (for option group custom_data_type.)</comment>
+ <add>2.2</add>
+ </field>
+ <field>
+ <name>extends_entity_column_value</name>
+ <type>varchar</type>
+ <length>255</length>
+ <comment>linking custom group for dynamic object</comment>
+ <add>1.6</add>
+ </field>
+ <field>
+ <name>style</name>
+ <type>varchar</type>
+ <length>15</length>
+ <comment>Visual relationship between this form and its parent.</comment>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::customGroupStyle</callback>
+ </pseudoconstant>
+ <add>1.1</add>
+ <html>
+ <type>Select</type>
+ </html>
+ </field>
+ <field>
+ <name>collapse_display</name>
+ <type>int unsigned</type>
+ <default>0</default>
+ <comment>Will this group be in collapsed or expanded mode on initial display ?</comment>
+ <add>1.1</add>
+ </field>
+ <field>
+ <name>help_pre</name>
+ <type>text</type>
+ <localizable>true</localizable>
+ <comment>Description and/or help text to display before fields in form.</comment>
+ <html>
+ <type>TextArea</type>
+ <rows>4</rows>
+ <cols>80</cols>
+ </html>
+ <add>1.1</add>
+ </field>
+ <field>
+ <name>help_post</name>
+ <type>text</type>
+ <localizable>true</localizable>
+ <comment>Description and/or help text to display after fields in form.</comment>
+ <html>
+ <type>TextArea</type>
+ <rows>4</rows>
+ <cols>80</cols>
+ </html>
+ <add>1.1</add>
+ </field>
+ <field>
+ <name>weight</name>
+ <type>int</type>
+ <required>true</required>
+ <default>1</default>
+ <comment>Controls display order when multiple extended property groups are setup for the same class.</comment>
+ <add>1.1</add>
+ </field>
+ <field>
+ <name>is_active</name>
+ <type>boolean</type>
+ <comment>Is this property active?</comment>
+ <add>1.1</add>
+ </field>
+ <field>
+ <name>table_name</name>
+ <type>varchar</type>
+ <length>255</length>
+ <comment>Name of the table that holds the values for this group.</comment>
+ <add>2.0</add>
+ </field>
+ <field>
+ <name>is_multiple</name>
+ <type>boolean</type>
+ <comment>Does this group hold multiple values?</comment>
+ <add>2.0</add>
+ </field>
+ <field>
+ <name>min_multiple</name>
+ <type>int unsigned</type>
+ <comment>minimum number of multiple records (typically 0?)</comment>
+ <add>2.2</add>
+ </field>
+ <field>
+ <name>max_multiple</name>
+ <type>int unsigned</type>
+ <comment>maximum number of multiple records, if 0 - no max</comment>
+ <add>2.2</add>
+ </field>
+ <field>
+ <name>collapse_adv_display</name>
+ <type>int unsigned</type>
+ <default>0</default>
+ <comment>Will this group be in collapsed or expanded mode on advanced search display ?</comment>
+ <add>3.0</add>
</field>
<index>
<name>UI_title_extends</name>
<add>2.0</add>
<log>true</log>
<field>
- <name>id</name>
- <type>int unsigned</type>
- <required>true</required>
- <comment>Unique ID</comment>
- <add>2.0</add>
+ <name>id</name>
+ <type>int unsigned</type>
+ <required>true</required>
+ <comment>Unique ID</comment>
+ <add>2.0</add>
</field>
<primaryKey>
- <name>id</name>
- <autoincrement>true</autoincrement>
+ <name>id</name>
+ <autoincrement>true</autoincrement>
</primaryKey>
<field>
- <name>address_id</name>
- <type>int unsigned</type>
- <add>2.0</add>
+ <name>address_id</name>
+ <type>int unsigned</type>
+ <add>2.0</add>
</field>
<foreignKey>
- <name>address_id</name>
- <table>civicrm_address</table>
- <key>id</key>
- <add>2.0</add>
- <onDelete>SET NULL</onDelete>
+ <name>address_id</name>
+ <table>civicrm_address</table>
+ <key>id</key>
+ <add>2.0</add>
+ <onDelete>SET NULL</onDelete>
</foreignKey>
<field>
- <name>email_id</name>
- <type>int unsigned</type>
- <add>2.0</add>
+ <name>email_id</name>
+ <type>int unsigned</type>
+ <add>2.0</add>
</field>
<foreignKey>
- <name>email_id</name>
- <table>civicrm_email</table>
- <key>id</key>
- <add>2.0</add>
- <onDelete>SET NULL</onDelete>
+ <name>email_id</name>
+ <table>civicrm_email</table>
+ <key>id</key>
+ <add>2.0</add>
+ <onDelete>SET NULL</onDelete>
</foreignKey>
<field>
- <name>phone_id</name>
- <type>int unsigned</type>
- <add>2.0</add>
+ <name>phone_id</name>
+ <type>int unsigned</type>
+ <add>2.0</add>
</field>
<foreignKey>
- <name>phone_id</name>
- <table>civicrm_phone</table>
- <key>id</key>
- <add>2.0</add>
- <onDelete>SET NULL</onDelete>
+ <name>phone_id</name>
+ <table>civicrm_phone</table>
+ <key>id</key>
+ <add>2.0</add>
+ <onDelete>SET NULL</onDelete>
</foreignKey>
<field>
- <name>im_id</name>
- <type>int unsigned</type>
- <add>2.0</add>
+ <name>im_id</name>
+ <type>int unsigned</type>
+ <add>2.0</add>
</field>
<foreignKey>
- <name>im_id</name>
- <table>civicrm_im</table>
- <key>id</key>
- <add>2.0</add>
- <onDelete>SET NULL</onDelete>
+ <name>im_id</name>
+ <table>civicrm_im</table>
+ <key>id</key>
+ <add>2.0</add>
+ <onDelete>SET NULL</onDelete>
</foreignKey>
<field>
- <name>address_2_id</name>
- <type>int unsigned</type>
- <add>2.0</add>
+ <name>address_2_id</name>
+ <type>int unsigned</type>
+ <add>2.0</add>
</field>
<foreignKey>
- <name>address_2_id</name>
- <table>civicrm_address</table>
- <key>id</key>
- <add>2.0</add>
- <onDelete>SET NULL</onDelete>
+ <name>address_2_id</name>
+ <table>civicrm_address</table>
+ <key>id</key>
+ <add>2.0</add>
+ <onDelete>SET NULL</onDelete>
</foreignKey>
<field>
- <name>email_2_id</name>
- <type>int unsigned</type>
- <add>2.0</add>
+ <name>email_2_id</name>
+ <type>int unsigned</type>
+ <add>2.0</add>
</field>
<foreignKey>
- <name>email_2_id</name>
- <table>civicrm_email</table>
- <key>id</key>
- <add>2.0</add>
- <onDelete>SET NULL</onDelete>
+ <name>email_2_id</name>
+ <table>civicrm_email</table>
+ <key>id</key>
+ <add>2.0</add>
+ <onDelete>SET NULL</onDelete>
</foreignKey>
<field>
- <name>phone_2_id</name>
- <type>int unsigned</type>
- <add>2.0</add>
+ <name>phone_2_id</name>
+ <type>int unsigned</type>
+ <add>2.0</add>
</field>
<foreignKey>
- <name>phone_2_id</name>
- <table>civicrm_phone</table>
- <key>id</key>
- <add>2.0</add>
- <onDelete>SET NULL</onDelete>
+ <name>phone_2_id</name>
+ <table>civicrm_phone</table>
+ <key>id</key>
+ <add>2.0</add>
+ <onDelete>SET NULL</onDelete>
</foreignKey>
<field>
- <name>im_2_id</name>
- <type>int unsigned</type>
- <add>2.0</add>
+ <name>im_2_id</name>
+ <type>int unsigned</type>
+ <add>2.0</add>
</field>
<foreignKey>
- <name>im_2_id</name>
- <table>civicrm_im</table>
- <key>id</key>
- <add>2.0</add>
- <onDelete>SET NULL</onDelete>
+ <name>im_2_id</name>
+ <table>civicrm_im</table>
+ <key>id</key>
+ <add>2.0</add>
+ <onDelete>SET NULL</onDelete>
</foreignKey>
</table>