You are here

function computing_update_7004 in Drupal Computing 7

File

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

Code

function computing_update_7004() {
  $schema = computing_schema();
  $fields = $schema['computing_record']['fields'];
  db_drop_field('computing_record', 'input_json');
  db_drop_field('computing_record', 'output_json');
  db_add_field('computing_record', 'inputjson', $fields['inputjson']);
  db_add_field('computing_record', 'outputjson', $fields['outputjson']);
}