function tripal_bulk_loader_update_6151

2.x tripal_bulk_loader.install tripal_bulk_loader_update_6151()
3.x tripal_bulk_loader.install tripal_bulk_loader_update_6151()
1.x tripal_bulk_loader.install tripal_bulk_loader_update_6151()

Implements hook_update_N().

Update schema for version 6.x-0.3.1b-1.5

  • Add the tripal_bulk_loader_constants.group_id column to allow multiple sets of constants per job

Related topics

File

tripal_bulk_loader/tripal_bulk_loader.install, line 206
Install/Uninstalls, Enables/Disables this module.

Code

function tripal_bulk_loader_update_6151() {

  $schema = tripal_bulk_loader_schema();
  db_add_field(
  'tripal_bulk_loader_constants', 
  'group_id', 
  array(
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0
  )
  );

  return 'Added support for multiple sets of loader-specific constants.';
}