function userpoints_update_5 in User Points 6
Same name and namespace in other branches
- 5.3 userpoints.install \userpoints_update_5()
- 5 userpoints.install \userpoints_update_5()
- 5.2 userpoints.install \userpoints_update_5()
File
- ./
userpoints.install, line 211
Code
function userpoints_update_5() {
$ret = array();
db_add_field($ret, 'userpoints_txn', 'reference', array(
'type' => 'varchar',
'length' => 128,
));
db_add_index($ret, 'userpoints_txn', 'reference', array(
'reference',
));
return $ret;
}