You are here

function userpoints_update_4 in User Points 6

Same name and namespace in other branches
  1. 5.3 userpoints.install \userpoints_update_4()
  2. 5 userpoints.install \userpoints_update_4()
  3. 5.2 userpoints.install \userpoints_update_4()

File

./userpoints.install, line 204

Code

function userpoints_update_4() {
  $ret = array();
  db_change_field($ret, 'userpoints_txn', 'event', 'event', array(
    'type' => 'varchar',
    'length' => 32,
  ));
  db_change_field($ret, 'userpoints_txn', 'status', 'status', array(
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}