function emvideo_field_schema in Asset 7
Implements hook_field_schema().
File
- modules/
emvideo/ emvideo.install, line 11 - Install/Update/Uninstall functions for emvideo module.
Code
function emvideo_field_schema($field) {
return array(
'columns' => array(
'url' => array(
'type' => 'text',
'size' => 'normal',
'not null' => FALSE,
),
'provider' => array(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
),
'source' => array(
'type' => 'text',
'size' => 'normal',
'not null' => FALSE,
),
'snapshot' => array(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
),
),
'indexes' => array(
'url' => array(
array(
'url',
255,
),
),
'provider' => array(
'provider',
),
'source' => array(
array(
'source',
255,
),
),
),
);
}