You are here

function salesforce_mapping_update_7306 in Salesforce Suite 7.3

Add the configurable Pull Trigger Date field to mappings.

File

modules/salesforce_mapping/salesforce_mapping.install, line 674
Install and uninstall instructions for salesforce_mapping.

Code

function salesforce_mapping_update_7306(&$sandbox) {
  $pull_date_field = array(
    'description' => 'The Saleforce field to trigger pulls from.',
    'type' => 'varchar',
    'length' => 128,
    'not null' => TRUE,
    'default' => 'LastModifiedDate',
  );
  db_add_field('salesforce_mapping', 'pull_trigger_date', $pull_date_field);
}