You are here

function audit_log_db_update_7001 in Audit Log 7

Add message to audit_log table.

File

modules/audit_log_db/audit_log_db.install, line 143
Install & update hooks for the Audit database logging module.

Code

function audit_log_db_update_7001() {
  if (!db_field_exists('audit_log', 'message')) {
    $spec = array(
      'description' => 'The message of the log item.',
      'type' => 'text',
      'size' => 'big',
    );
    db_add_field('audit_log', 'message', $spec);
  }
}