You are here

function addtocalendar_field_schema in Add To Calendar Button (AddEvent.com) 7.2

Implements hook_field_schema().

File

./addtocalendar.install, line 11
Install, update and uninstall functions for the addtocalendar module.

Code

function addtocalendar_field_schema() {
  $columns = array(
    'display_addtocalendar' => array(
      'type' => 'int',
      'size' => 'tiny',
      'not null' => FALSE,
    ),
  );
  $indexes = array(
    'display_addtocalendar' => array(
      'display_addtocalendar',
    ),
  );
  return array(
    'columns' => $columns,
    'indexes' => $indexes,
  );
}