You are here

function hosting_client_update_8 in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 client/hosting_client.install \hosting_client_update_8()
  2. 7.3 client/hosting_client.install \hosting_client_update_8()

Implements hook_update_N().

Add the hosting_client_platforms table and default all clients to have access to all platforms

File

client/hosting_client.install, line 211
Define database schema, install and update functions for the hosting_client module.

Code

function hosting_client_update_8() {
  $ret = array();
  $ret[] = update_sql("CREATE TABLE {hosting_platform_client_access} \n                       (pid int(10) unsigned NOT NULL default '0', \n                        cid int(10) unsigned NOT NULL default '0')");
  return $ret;
}