You are here

function crm_core_contact_update_7002 in CRM Core 7

Add field to contact type to store primary fields settings.


modules/crm_core_contact/crm_core_contact.install, line 290
Install, update and uninstall functions for the CRM Core Contact module.


function crm_core_contact_update_7002() {
  db_add_field('crm_core_contact_type', 'primary_fields', array(
    'description' => 'Serialized array of key-value pairs, where key is the primary field type and value is real field name used for this type.',
    'type' => 'blob',
    'serialize' => TRUE,