You are here

function activity_update_2 in Activity 5.3

Same name and namespace in other branches
  1. 5.4 activity.install \activity_update_2()

Increase the variable name column length to the Drupal 6 default of 128 characters.

File

./activity.install, line 104
Install file for activity module.

Code

function activity_update_2() {
  $ret = array();
  $ret[] = update_sql("ALTER TABLE {variable} CHANGE `name` `name` varchar(128) NOT NULL DEFAULT ''");
  return $ret;
}