You are here

function recommender_update_7001 in Recommender API 7.3

Same name and namespace in other branches
  1. 7.4 recommender.install \recommender_update_7001()

Implements hook_update_N(). Make {recommender_app} 'name' field longer.

File

./recommender.install, line 253
Installation file for the Recommender API module. Note: Not compatible with 6.x releases. Please uninstall 6.x releases before installing the D7 release.

Code

function recommender_update_7001() {
  db_change_field('recommender_app', 'name', 'name', array(
    'description' => 'The application that uses the recommender API',
    'type' => 'varchar',
    'not null' => TRUE,
    'length' => 60,
  ));
}