You are here

function nodewords_update_6175 in Nodewords: D6 Meta Tags 6

Make the custom tags 'name' field larger.

File

./nodewords.install, line 1568
Installation file for nodewords.module.

Code

function nodewords_update_6175() {
  $ret = array();
  $schema = nodewords_schema();
  $table = 'nodewords_custom';
  $spec = $schema[$table];
  $field = 'name';

  // Resize the 'name' field.
  db_change_field($ret, $table, $field, $field, $spec['fields'][$field]);

  // Clear the schema cache.
  cache_clear_all('schema', 'cache');
  return $ret;
}