function sf_import_schema in Salesforce Suite 7.2
Same name and namespace in other branches
- 6.2 sf_import/sf_import.install \sf_import_schema()
Implements hook_schema().
File
- sf_import/
sf_import.install, line 10 - Install functions for Salesforce Import
Code
function sf_import_schema() {
$schema['sf_import_queue'] = array(
'description' => 'Contains data for importing Salesforce records',
'fields' => array(
'sfid' => array(
'description' => 'The Salesforce ID of an updated object',
'type' => 'varchar',
'length' => '32',
'not null' => TRUE,
),
'time' => array(
'description' => 'The timestamp that this object was imported',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'fieldmap' => array(
'description' => 'The fieldmap to use for importing',
'type' => 'varchar',
'length' => '64',
'not null' => TRUE,
),
),
'indexes' => array(
'sfid' => array(
'sfid',
),
'fieldmap' => array(
'fieldmap',
),
),
'primary key' => array(
'sfid',
),
);
return $schema;
}