function migrate_extras_schema in Migrate Extras 6
Implementation of hook_schema().
1 call to migrate_extras_schema()
- migrate_extras_update_6000 in ./
migrate_extras.install - Add the node map
File
- ./
migrate_extras.install, line 6
Code
function migrate_extras_schema() {
$schema['migrate_extras_node_map'] = array(
'description' => t('Optional master node map table.'),
'fields' => array(
'sourceid' => array(
'description' => t('Source id of the node.'),
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
'destid' => array(
'description' => t('Node ID of the imported node.'),
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
),
'primary key' => array(
'sourceid',
),
'indexes' => array(
'idkey' => array(
'destid',
),
),
);
return $schema;
}