function poll_update_7004

Update the database to match the schema.

Related topics

File

modules/poll/poll.install, line 208

Code

function poll_update_7004() {
  // Remove field default.
  db_change_field('poll_vote', 'chid', 'chid', array(
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
  ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.