You are here

function nodewords_update_6186 in Nodewords: D6 Meta Tags 6

Expand the {nodewords}.name field to allow for longer meta tag names,

File

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

Code

function nodewords_update_6186() {
  $ret = array();
  $table = 'nodewords';
  $field = 'name';
  $spec = array(
    'description' => 'The meta tag name.',
    'type' => 'varchar',
    'length' => 128,
    'not null' => TRUE,
    'default' => '',
  );

  // Save the changes.
  db_change_field($ret, $table, $field, $field, $spec);
  return $ret;
}