You are here

function userpoints_update_7 in User Points 6

Same name and namespace in other branches
  1. 5.3 userpoints.install \userpoints_update_7()

File

./userpoints.install, line 232

Code

function userpoints_update_7() {
  $ret = array();
  db_add_field($ret, 'userpoints_txn', 'entity_id', array(
    'type' => 'int',
    'length' => 11,
    'not null' => TRUE,
  ));
  db_add_field($ret, 'userpoints_txn', 'entity_type', array(
    'type' => 'varchar',
    'length' => 32,
  ));
  db_change_field($ret, 'userpoints_txn', 'event', 'operation', array(
    'type' => 'varchar',
  ));
  return $ret;
}