--- updates.inc 24 May 2006 21:58:31 -0000 1.224.2.5 +++ updates.inc 11 Sep 2006 22:13:15 -0000 @@ -2013,3 +2013,21 @@ return $ret; } + +/** + * Make use of guid in feed items + */ +function system_update_183() { + // Make use of guid in feed items + $ret = array(); + switch ($GLOBALS['db_type']) { + case 'mysql': + case 'mysqli': + $ret[] = update_sql("ALTER TABLE {aggregator_item} ADD guid varchar(255) AFTER timestamp ;"); + break; + case 'pgsql': + db_add_column($ret, 'aggregator_item', 'guid', 'varchar(255)'); + break; + } + return $ret; +}