function poll_update_7002
Add timestamp field to {poll_vote}.
File
-
modules/
poll/ poll.install, line 179
Code
function poll_update_7002() {
$field = array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
);
db_add_field('poll_vote', 'timestamp', $field);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.