function redhen_engagement_schema_alter in RedHen CRM 7
Implements hook_schema_alter().
File
- modules/
redhen_engagement/ redhen_engagement.module, line 489 - RedhenEngagement hook implementations and API
Code
function redhen_engagement_schema_alter(&$schema) {
// Add field to existing schema.
$schema['redhen_contact']['fields']['engagement_score'] = array(
'description' => 'The total engagement score for a contact.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
);
}