Projet

Général

Profil

Révision 3dfa8105

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

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ds/ds.install
229 229
      'label' => array(
230 230
        'description' => 'The label of the field.',
231 231
        'type' => 'varchar',
232
        'length' => 32,
232
        'length' => 128,
233 233
        'not null' => TRUE,
234 234
        'default' => '',
235 235
      ),
......
276 276
  if (!db_field_exists('ds_fields', 'ui_limit')) {
277 277
    db_add_field('ds_fields', 'ui_limit', $schema['ds_fields']['fields']['ui_limit']);
278 278
  }
279
}
279
}
280

  
281
/**
282
 * Increase the label storage length to 128.
283
 */
284
function ds_update_7202() {
285
  db_change_field('ds_fields', 'label', 'label',
286
    array(
287
      'description' => 'The label of the field.',
288
      'type' => 'varchar',
289
      'length' => 128,
290
      'not null' => TRUE,
291
      'default' => '',
292
    ));
293
}

Formats disponibles : Unified diff