function bat_booking_update_7100 in Booking and Availability Management Tools for Drupal 7
Add default label name field.
File
- modules/
bat_booking/ bat_booking.install, line 163 - Install, update and uninstall functions for the BAT Booking module.
Code
function bat_booking_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_booking_types', 'default_booking_label_field_name', $field);
}