You are here

function user_relationships_update_4 in User Relationships 5.2

Same name and namespace in other branches
  1. 5 user_relationships.install \user_relationships_update_4()

Update 4: Add separate cache table for user relationship data

File

./user_relationships.install, line 157

Code

function user_relationships_update_4() {
  return _user_relationships_installation_query(array(
    "CREATE TABLE {cache_user_relationships} (\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      `serialized` int(1) NOT NULL default 0,\n      PRIMARY KEY (`cid`),\n      KEY `expire` (`expire`)\n    ) /*!40100 DEFAULT CHARACTER SET utf8*/",
  ), NULL, TRUE);
}