function hosting_server_update_6003 in Hosting 7.3
Same name and namespace in other branches
- 6.2 server/hosting_server.install \hosting_server_update_6003()
- 7.4 server/hosting_server.install \hosting_server_update_6003()
Implements hook_update_N().
Bring the port and restart command from hosting_web_server into hosting_service.
File
- server/
hosting_server.install, line 166 - Define the database schema and update functions for the hosting_server module.
Code
function hosting_server_update_6003() {
db_add_field($ret, 'hosting_service', 'port', array(
'type' => 'int',
'default' => 0,
'unsigned' => TRUE,
'not null' => FALSE,
));
db_add_field($ret, 'hosting_service', 'restart_cmd', array(
'type' => 'text',
'size' => 'big',
'not null' => FALSE,
));
return $ret;
}