You are here

function userpoints_update_5 in User Points 6

Same name and namespace in other branches
  1. 5.3 userpoints.install \userpoints_update_5()
  2. 5 userpoints.install \userpoints_update_5()
  3. 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;
}