function parser_common_syndication_update_1 in FeedAPI 5
File
- parser_common_syndication/
parser_common_syndication.install, line 56
Code
function parser_common_syndication_update_1() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'mysqli':
case 'mysql':
$ret[] = update_sql("CREATE TABLE if not exists {parser_common_syndication} (\n url varchar(255) NOT NULL default '',\n etag TEXT,\n last_modified TEXT)\n ");
break;
case 'pgsql':
$ret[] = update_sql("CREATE TABLE {parser_common_syndication} (\n url varchar(255) NOT NULL default '',\n etag TEXT,\n last_modified TEXT)\n ");
break;
}
return $ret;
}