You are here

function makemeeting_field_schema in Make Meeting Scheduler 7.2

Implements hook_field_schema().

1 call to makemeeting_field_schema()
makemeeting_update_7202 in ./makemeeting.install
Add timezone column to fields.

File

./makemeeting.install, line 11
Makemeeting installation schemas

Code

function makemeeting_field_schema($field) {
  return array(
    'columns' => array(
      'closed' => array(
        'type' => 'int',
        'length' => 1,
        'not null' => FALSE,
        'default' => 0,
      ),
      'hidden' => array(
        'type' => 'int',
        'length' => 1,
        'not null' => FALSE,
        'default' => 0,
      ),
      'one_option' => array(
        'type' => 'int',
        'length' => 1,
        'not null' => FALSE,
        'default' => 0,
      ),
      'limit' => array(
        'type' => 'int',
        'not null' => FALSE,
        'default' => 0,
      ),
      'yesnomaybe' => array(
        'type' => 'int',
        'length' => 1,
        'not null' => FALSE,
        'default' => 0,
      ),
      'choices' => array(
        'type' => 'blob',
        'not null' => FALSE,
        'size' => 'big',
        'serialize' => TRUE,
      ),
      'timezone' => array(
        'type' => 'varchar',
        'length' => 25,
      ),
    ),
  );
}