Projet

Général

Profil

Révision 4f315dab

Ajouté par Assos Assos il y a environ 8 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/webform_validation/webform_validation.install
45 45
        'not null' => FALSE,
46 46
      ),
47 47
      'error_message' => array(
48
        'type' => 'varchar',
48
        'type' => 'text',
49 49
        'description' => 'Rule error message',
50 50
        'not null' => FALSE,
51
        'length' => 255,
52 51
      ),
53 52
      'negate' => array(
54 53
        'type' => 'int',
......
210 209
  );
211 210
  db_add_field('webform_validation_rule', 'weight', $spec);
212 211
}
212

  
213
/**
214
 * Alter error_message field to allow longer than 255 chars error messages.
215
 */
216
function webform_validation_update_7106() {
217
  db_change_field('webform_validation_rule', 'error_message', 'error_message', array(
218
    'type' => 'text',
219
    'description' => 'Rule error message',
220
    'not null' => FALSE,
221
  ));
222
}

Formats disponibles : Unified diff