You are here

function acquia_contenthub_publisher_update_82002 in Acquia Content Hub 8.2

Add the new database column.

File

modules/acquia_contenthub_publisher/acquia_contenthub_publisher.install, line 112
Acquia Content Hub - Publisher module install file.

Code

function acquia_contenthub_publisher_update_82002() {
  $queue_id_column = [
    'type' => 'varchar',
    'description' => "Queue item to track queue record",
    'length' => 32,
    'not null' => FALSE,
  ];
  $schema = \Drupal::database()
    ->schema();
  $schema
    ->addField('acquia_contenthub_publisher_export_tracking', 'queue_id', $queue_id_column);
}