You are here

function login_destination_update_7001 in Login Destination 7

Add 'enabled'-field to 'login_destination' table.

File

./login_destination.install, line 160
Install, update and uninstall functions for the Login Destination module.

Code

function login_destination_update_7001() {
  $spec = array(
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 1,
  );
  db_add_field('login_destination', 'enabled', $spec);
}