function userpoints_update_7002 in User Points 7
Same name and namespace in other branches
- 7.2 userpoints.install \userpoints_update_7002()
Increase length of operation and entity_type columns.
File
- ./
userpoints.install, line 257 - Install time hook userpoints module.
Code
function userpoints_update_7002() {
db_change_field('userpoints_txn', 'operation', 'operation', array(
'description' => 'Operation being carried out',
'type' => 'varchar',
'length' => 48,
));
db_change_field('userpoints_txn', 'entity_type', 'entity_type', array(
'description' => 'Type of entity',
'type' => 'varchar',
'length' => 128,
));
}