code: def initialize_schema(connection):
    
    cursor = connection.cursor()
    cursor.execute("PRAGMA application_id={}".format(_TENSORBOARD_APPLICATION_ID))
    cursor.execute("PRAGMA user_version={}".format(_TENSORBOARD_USER_VERSION))
    with connection:
      for statement in _SCHEMA_STATEMENTS:
        lines = statement.strip('\n').split('\n')
        message = lines[0] + ('...' if len(lines) > 1 else '')
        logger.debug('Running DB init statement: %s', message)
        cursor.execute(statement)
docs: Initializes the TensorBoard sqlite schema using the given connection.
  
    Args:
      connection: A sqlite DB connection.