You are here

function google_appliance_update_1 in Google Search Appliance 5

File

./google_appliance.install, line 19

Code

function google_appliance_update_1() {
  $q = "\nCREATE TABLE IF NOT EXISTS `{cache_google}` (\n  `cid` varchar(255) NOT NULL default '',\n  `data` longblob,\n  `expire` int(11) NOT NULL default '0',\n  `created` int(11) NOT NULL default '0',\n  `headers` text,\n  PRIMARY KEY  (`cid`),\n  KEY `expire` (`expire`)\n) ENGINE=innoDB DEFAULT CHARSET=utf8\n";
  $ret[] = update_sql($q);
  return $ret;
}