function weekdays_field_schema in Weekdays field 7
Implements hook_field_schema().
File
- ./
weekdays.install, line 11 - Install, update and uninstall functions for weekday module.
Code
function weekdays_field_schema($field) {
return array(
'columns' => array(
'value' => array(
'type' => 'int',
'size' => 'tiny',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
'description' => 'A bitwise representation of selected week days.',
),
),
);
}