You are here

function protected_node_update_7101 in Protected Node 7

Same name and namespace in other branches
  1. 1.0.x protected_node.install \protected_node_update_7101()

Change size of protected_node_passwd from 40 to 128.

File

./protected_node.install, line 104
Install, update and uninstall functions for the protected_node module.

Code

function protected_node_update_7101() {
  db_change_field('protected_nodes', 'protected_node_passwd', 'protected_node_passwd', array(
    'description' => 'The sha1/sha256 hashed password for the given node.',
    'type' => 'char',
    'length' => 128,
    'not null' => TRUE,
    'default' => '',
  ));
}