You are here

function bat_booking_update_7102 in Booking and Availability Management Tools for Drupal 7

Add booking status field.

File

modules/bat_booking/bat_booking.install, line 190
Install, update and uninstall functions for the BAT Booking module.

Code

function bat_booking_update_7102() {
  $field = array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0x1,
    'size' => 'tiny',
    'description' => 'The exportable status of the entity.',
  );
  db_add_field('bat_bookings', 'status', $field);
}