Data model

"EXPORT_REQUEST" {
  shape: sql_table
  "id": UUID {constraint: primary_key}
  "company_ids": ARRAY 
  "context_account_id": UUID 
  "export_type": VARCHAR 
  "file_format": VARCHAR(4) 
  "filters": JSONB 
  "operational_scope_ids": ARRAY 
  "profile_id": UUID 
  "status": VARCHAR(10) 
}
"EXPORT_RESULT" {
  shape: sql_table
  "id": UUID {constraint: primary_key}
  "deleted_at": DATETIME 
  "download_count": INTEGER 
  "error_message": VARCHAR 
  "export_duration": BIGINT 
  "export_request_id": UUID 
  "first_downloaded_at": DATETIME 
  "items_count": INTEGER 
  "last_downloaded_at": DATETIME 
  "outcome": VARCHAR(7) 
  "processed_at": DATETIME 
  "processing_status": VARCHAR(10) 
  "rq_job_id": VARCHAR 
  "rq_job_retry_count": INTEGER 
  "uri": VARCHAR(2083) 
}
"EXPORT_REQUEST"."id" -> "EXPORT_RESULT"."export_request_id": {
  source-arrowhead.shape: cf-one-required
  target-arrowhead.shape: cf-many
}
Hold "Alt" / "Option" to enable pan & zoom