function focal_point_schema in Focal Point 7
Implements hook_schema().
File
- ./
focal_point.install, line 42 - Install hooks for focal_point.
Code
function focal_point_schema() {
$schema['focal_point'] = array(
'fields' => array(
'fid' => array(
'description' => 'File ID.',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
// The longest possible value of this is 100,100 which is 7 characters.
'focal_point' => array(
'type' => 'varchar',
'length' => 7,
'not null' => TRUE,
'default' => '',
),
),
'primary key' => array(
'fid',
),
);
return $schema;
}