You are here

function registration_checkin_schema_alter in Entity Registration 7.2

Same name and namespace in other branches
  1. 8.2 modules/registration_checkin/registration_checkin.install \registration_checkin_schema_alter()

Implements hook_schema_alter().

File

modules/registration_checkin/registration_checkin.install, line 10
Install/update hooks for registration checkin.

Code

function registration_checkin_schema_alter(&$schema) {
  $schema['registration_state']['fields']['attended'] = array(
    'description' => 'A boolean indicating whether or not the registrant attended.',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
    'size' => 'tiny',
  );
}