You are here

function honeypot_update_7100 in Honeypot 7

Adds the 'hostname' column to the {honeypot_user} table.

File

./honeypot.install, line 160
Install, update and uninstall functions for the Honeypot module.

Code

function honeypot_update_7100() {
  $schema = honeypot_schema();
  $spec = $schema['honeypot_user']['fields']['hostname'];
  $spec['initial'] = '';
  db_add_field('honeypot_user', 'hostname', $spec);
}