You are here

function advpoll_update_6100 in Advanced Poll 6.3

Same name and namespace in other branches
  1. 6.2 advpoll.module \advpoll_update_6100()

File

./advpoll.install, line 221
Manage database installation and upgrading for advpoll.

Code

function advpoll_update_6100() {
  $ret = array();
  $attributes = array(
    'description' => t('Whether or not to generate a view block for this poll.'),
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  );
  db_add_field($ret, 'advpoll', 'create_view_block', $attributes);
  return $ret;
}