You are here

function advpoll_update_6200 in Advanced Poll 6.3

File

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

Code

function advpoll_update_6200() {
  $ret = array();
  $attributes = array(
    'description' => t('Optional text to display in the footer of the poll.'),
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  );
  db_add_field($ret, 'advpoll', 'footer_message', $attributes);
  return $ret;
}