You are here

function parser_common_syndication_update_6101 in FeedAPI 6

Instead of textual URL, store MD5 in the parser_common_syndication table

File

parser_common_syndication/parser_common_syndication.install, line 74
Adds it to the content-type configuration

Code

function parser_common_syndication_update_6101() {
  $ret = array();
  db_query('DELETE FROM {parser_common_syndication}');
  db_change_field($ret, 'parser_common_syndication', 'url', 'url', array(
    'description' => t('The MD5 hash of feed URL'),
    'type' => 'varchar',
    'not null' => TRUE,
    'length' => '32',
  ));
  return $ret;
}