You are here

function cas_server_update_7101 in CAS 7

Adds valid field to indicate when ticket is valid for reuse.

File

./cas_server.install, line 104
Installation hooks for the CAS Server module.

Code

function cas_server_update_7101() {
  if (!db_field_exists('cas_server_tickets', 'valid')) {
    db_add_field('cas_server_tickets', 'valid', array(
      'type' => 'int',
      'not null' => TRUE,
      'default' => 1,
    ));
  }
}