You are here

function hosting_platform_install in Hosting 5

Same name and namespace in other branches
  1. 6.2 platform/hosting_platform.install \hosting_platform_install()

File

platform/hosting_platform.install, line 3

Code

function hosting_platform_install() {
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      db_query("CREATE TABLE {hosting_platform} (\n        vid int(10) unsigned NOT NULL default '0',\n        nid int(10) unsigned NOT NULL default '0',\n        publish_path longtext,\n        web_server int(11) NOT NULL default '0',\n        release_id int(11) NOT NULL default '0',\n        verified int(11) NOT NULL default '0',\n        PRIMARY KEY  (vid)\n      ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
      break;
  }
}