You are here

function nodewords_update_6 in Nodewords: D6 Meta Tags 5

Remove 255-char maximum limitation for meta tags.

File

./nodewords.install, line 210

Code

function nodewords_update_6() {
  global $db_type;
  $items = array();
  switch ($db_type) {
    case 'mysql':
    case 'mysqli':
      $items[] = update_sql("ALTER TABLE {nodewords} CHANGE content content text;");
      break;
    case 'pgsql':
      $items[] = update_sql("ALTER TABLE {nodewords} ALTER content TYPE text;");
      break;
  }
  return $items;
}