You are here

function hosting_server_update_7301 in Hosting 7.3

Same name and namespace in other branches
  1. 7.4 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,
  ));
}