function uc_store_update_3 in Ubercart 5
File
- uc_store/
uc_store.install, line 191
Code
function uc_store_update_3() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
$ret[] = update_sql("CREATE TABLE {uc_store_footers} (\n `path_hash` varchar(32) NOT NULL default '',\n `message` text NOT NULL,\n PRIMARY KEY (path_hash)\n ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
break;
case 'pgsql':
$ret[] = update_sql("CREATE TABLE {uc_store_footers} (\n path_hash varchar(32) NOT NULL default '',\n message text NOT NULL default '',\n PRIMARY KEY (path_hash)\n )");
break;
}
return $ret;
}