You are here

function _zoomapi_add_missing_tables in Zoom API 7.2

Helper: Add missing tables.

3 calls to _zoomapi_add_missing_tables()
zoomapi_update_7200 in ./zoomapi.install
Upgrade to ZoomAPI v2.
zoomapi_update_7202 in ./zoomapi.install
Add webhooks log table.
zoomapi_update_7203 in ./zoomapi.install
Add recordings tracker table.

File

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

Code

function _zoomapi_add_missing_tables() {
  $schema = zoomapi_schema();
  foreach ($schema as $table_name => $info) {
    if (!db_table_exists($table_name)) {
      db_create_table($table_name, $info);
    }
  }
}