You are here

function zoomapi_update_7102 in Zoom API 7

Same name and namespace in other branches
  1. 7.2 zoomapi.install \zoomapi_update_7102()

Add uuid column to meeting tracker table.

File

./zoomapi.install, line 23
Install, update, and uninstall hooks for the Zoom API module.

Code

function zoomapi_update_7102() {
  if (!db_field_exists('zoomapi_meeting_tracker', 'uuid')) {
    $schema = zoomapi_schema();
    $field = $schema['zoomapi_meeting_tracker']['fields']['uuid'];
    db_add_field('zoomapi_meeting_tracker', 'uuid', $field, [
      'indexes' => [
        'uuid' => [
          'uuid',
        ],
      ],
    ]);
  }
}