You are here

function asset_update_3 in Asset 5.2

Same name and namespace in other branches
  1. 5 asset.install \asset_update_3()

File

./asset.install, line 77
Asset module install file

Code

function asset_update_3() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      $ret[] = update_sql("CREATE TABLE {asset_role} (\n        aid int(10) unsigned NOT NULL,\n        rid int(10) unsigned NOT NULL,\n        status tinyint unsigned NOT NULL default '0',\n        PRIMARY KEY  (aid,rid)\n      ) TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */;");
  }
  return $ret;
}