function bat_event_update_7100 in Booking and Availability Management Tools for Drupal 7
Add default label name field.
File
- modules/
bat_event/ bat_event.install, line 319 - Sets up the base table for our entity and a table to store information about the entity types.
Code
function bat_event_update_7100() {
$field = array(
'type' => 'varchar',
'not null' => FALSE,
'length' => 32,
'description' => 'The name of a field to use to retrieve label information.',
);
db_add_field('bat_event_type', 'default_event_label_field_name', $field);
}