You are here

function advpoll_update_6100 in Advanced Poll 6.2

Same name and namespace in other branches
  1. 6.3 advpoll.install \advpoll_update_6100()

File

./advpoll.module, line 1742
Advanced Poll - a sophisticated polling module for voting, elections, and group decision-making.

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;
}