You are here

function background_process_update_7101 in Background Process 8

Same name and namespace in other branches
  1. 7 background_process.install \background_process_update_7101()

Add status column to background_process table.

File

./background_process.install, line 116
This is the installation file for the Background Process module.

Code

function background_process_update_7101() {
  if (!db_field_exists('background_process', 'status')) {
    db_add_field('background_process', 'status', [
      'type' => 'int',
      'size' => 'normal',
      'not null' => TRUE,
      'default' => 0,
    ]);
  }
}