function poll_update_7002
7.x poll.install | poll_update_7002() |
Add timestamp field to {poll_vote}.
File
- drupal-7.x/
modules/ poll/ poll.install, line 179 - Install, update and uninstall functions for the poll module.
Code
function poll_update_7002() {
$field = array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
);
db_add_field('poll_vote', 'timestamp', $field);
}