function migrate_example_wine_schema_blobs in Migrate 7.2
1 call to migrate_example_wine_schema_blobs()
- migrate_example_wine_schema in migrate_example/
wine.install.inc - @file Set up for the wine (advanced) example.
File
- migrate_example/
wine.install.inc, line 528 - Set up for the wine (advanced) example.
Code
function migrate_example_wine_schema_blobs() {
return array(
'description' => 'Wine blobs to be migrated to file entities',
'fields' => array(
'imageid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'description' => 'Image ID',
),
'imageblob' => array(
'type' => 'blob',
'size' => 'normal',
'description' => 'binary image data',
),
),
'primary key' => array(
'imageid',
),
);
}