function socialfield_field_schema in Social field 7
Implements hook_field_schema().
File
- ./
socialfield.install, line 11 - Field schema, install and uninstall functions for the social_field module.
Code
function socialfield_field_schema($field) {
return array(
'columns' => array(
'service' => array(
'type' => 'varchar',
'length' => 32,
),
'url' => array(
'type' => 'varchar',
'length' => 255,
),
'weight' => array(
'type' => 'int',
'size' => 'small',
),
),
);
}