You are here

function biblio_update_14 in Bibliography Module 5

File

./biblio.install, line 564

Code

function biblio_update_14() {
  $result = array();
  $result[] = update_sql("CREATE TABLE {biblio_author_index} (\n                  `aid` int(11) NOT NULL default '0',\n                  `author` varchar(100) NOT NULL default '',\n                  PRIMARY KEY  (`aid`) )  /*!40100 DEFAULT CHARACTER SET utf8 */;");
  $result[] = update_sql("CREATE TABLE {biblio_has_author} (\n                  `nid` int(11) NOT NULL default '0',\n                  `aid` int(11) NOT NULL default '0',\n                  `rank` int(11) NOT NULL default '0',\n                  PRIMARY KEY  (`nid`,`aid`,`rank`) ) /*!40100 DEFAULT CHARACTER SET utf8 */;");
  return $result;
}