You are here

function legal_update_7101 in Legal 7

Add tc_id to legal_accepted

File

./legal.install, line 149
Installation and update functions for the Legal module.

Code

function legal_update_7101() {
  $table = 'legal_accepted';
  $spec = array(
    'type' => 'int',
    'unsigned' => FALSE,
    'not null' => TRUE,
    'default' => 0,
    'disp-width' => 10,
  );
  db_add_field($table, 'tc_id', $spec);
}