You are here

function discussthis_update_1 in Discuss This! 5

File

./discussthis.install, line 31

Code

function discussthis_update_1() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      $ret[] = update_sql("CREATE TABLE {discussthis_forums} (\n\t   nid int unsigned NOT NULL default '0',\n\t   forum_tid int unsigned NOT NULL default '0',\n\t   PRIMARY KEY (nid)\n\t   ) /*!40100 DEFAULT CHARACTER SET utf8 */;");
  }
  return $ret;
}