function bat_booking_update_7101 in Booking and Availability Management Tools for Drupal 7
Rename 'name' field in 'label'.
File
- modules/
bat_booking/ bat_booking.install, line 177 - Install, update and uninstall functions for the BAT Booking module.
Code
function bat_booking_update_7101() {
db_change_field('bat_bookings', 'name', 'label', array(
'description' => 'The label of the Booking - a human-readable identifier.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
));
}