Projet

Général

Profil

Révision 81b16cc2

Ajouté par Assos Assos il y a plus de 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/captcha/captcha.install
69 69
      'sid' => array(
70 70
        'description' => "Session ID of the user.",
71 71
        'type' => 'varchar',
72
        'length' => 64,
72
        'length' => 128,
73 73
        'not null' => TRUE,
74 74
        'default' => '',
75 75
      ),
......
326 326
      ->execute();
327 327
  }
328 328
}
329

  
330
/**
331
 * Increase the Session Id field size.
332
 */
333
function captcha_update_7001() {
334
  $schema = captcha_schema();
335

  
336
  db_change_field('captcha_sessions', 'sid', 'sid', array(
337
    'description' => "Session ID of the user.",
338
    'type' => 'varchar',
339
    'length' => 128,
340
    'not null' => TRUE,
341
    'default' => '',
342
  ));
343
}

Formats disponibles : Unified diff