function votingapi_update_6 in Voting API 6.2
Same name and namespace in other branches
- 5 votingapi.install \votingapi_update_6()
- 6 votingapi.install \votingapi_update_6()
File
- ./
votingapi.install, line 176 - Installation file for VotingAPI module.
Code
function votingapi_update_6() {
$ret = array();
db_add_column($ret, 'votingapi_action_condition', 'name', 'varchar', array(
'length' => 128,
));
db_add_column($ret, 'votingapi_action_set', 'name', 'description', array(
'length' => 255,
'not null' => TRUE,
));
db_change_column($ret, 'votingapi_action_condition', 'value', 'data', 'varchar', array(
'length' => 255,
));
return $ret;
}