function xmlsitemap_update_1 in XML sitemap 5.2
Implementation of hook_update_N().
File
- xmlsitemap/
xmlsitemap.install, line 55 - Install file for XML sitemap
Code
function xmlsitemap_update_1() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
$ret[] = update_sql("CREATE TABLE {xmlsitemap} (\n loc varchar(128) NOT NULL default '',\n lastmod int(11),\n changefreq int(11),\n priority float\n ) /*!40100 DEFAULT CHARACTER SET utf8 */;");
break;
}
return $ret;
}