You are here

function poll_update_7004 in Drupal 7

Update the database to match the schema.

Related topics

File

modules/poll/poll.install, line 208
Install, update and uninstall functions for the poll module.

Code

function poll_update_7004() {

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