function poll_update_7004
7.x poll.install | poll_update_7004() |
Update the database to match the schema.
Related topics
File
- drupal-7.x/
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));
}