You are here

function google_appliance_install in Google Search Appliance 5

Same name and namespace in other branches
  1. 6.2 google_appliance.install \google_appliance_install()

File

./google_appliance.install, line 2

Code

function google_appliance_install() {
  $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[] = db_query($q);
  return $ret;
}