You are here

function computing_update_7008 in Drupal Computing 7

increase string1-4 to length=2000 (originally was 1000).

File

./computing.install, line 120
Drupal Computing installation file.

Code

function computing_update_7008() {
  $schema = drupal_get_schema_unprocessed('computing', 'computing_record');
  db_change_field('computing_record', 'string1', 'string1', $schema['fields']['string1']);
  db_change_field('computing_record', 'string2', 'string2', $schema['fields']['string2']);
  db_change_field('computing_record', 'string3', 'string3', $schema['fields']['string3']);
  db_change_field('computing_record', 'string4', 'string4', $schema['fields']['string4']);
}