function hosting_server_update_7301 in Hosting 7.4
Same name and namespace in other branches
- 7.3 server/hosting_server.install \hosting_server_update_7301()
Add 'verified' and 'status' fields to hosting_server.
File
- server/
hosting_server.install, line 372 - Define the database schema and update functions for the hosting_server module.
Code
function hosting_server_update_7301() {
db_add_field('hosting_server', 'verified', array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
));
db_add_field('hosting_server', 'status', array(
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 0,
));
}