code: private function saveTableMetadataToCache($cache, $name)
      {
          if ($cache === null) {
              return;
          }
  
          $metadata = $this->_tableMetadata[$name];
          $metadata['cacheVersion'] = static::SCHEMA_CACHE_VERSION;
          $cache->set(
              $this->getCacheKey($name),
              $metadata,
              $this->db->schemaCacheDuration,
              new TagDependency(['tags' => $this->getCacheTag()])
          );
      }
docs: Saves table metadata to cache.
  @param Cache|null $cache
  @param string $name