Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

docs: add note on database schema to contributing.md

Marc Klingen082dfaf339f6
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 626893c98a..323e522694 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -81,6 +81,10 @@ flowchart TB
### Database Overview
+The diagram below may not show all relationships if the foreign key is not defined in the database schema. For instance, `trace_id` in the `observation` table is not defined as a foreign key to the `trace` table to allow unordered ingestion of these objects, but it is still a foreign key in the application code.
+
+Full database schema: [prisma/schema.prisma](prisma/schema.prisma)
+
<img src="./prisma/database.svg">
### Infrastructure & Network Overview