From 0378526d27833e250edb79af72f1ff720dc132d8 Mon Sep 17 00:00:00 2001 From: Andres Aguiar Date: Thu, 10 Apr 2025 13:23:59 -0300 Subject: [PATCH] chore: add relations --- docs/content/best-practices/modeling.mdx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/content/best-practices/modeling.mdx b/docs/content/best-practices/modeling.mdx index 5c0f6070c..237a1b563 100644 --- a/docs/content/best-practices/modeling.mdx +++ b/docs/content/best-practices/modeling.mdx @@ -139,6 +139,7 @@ model type organization relations + define system: [system] define admin: [user] or admin from system define member: [user] ``` @@ -157,15 +158,13 @@ model type organization relations + define system: [system] define parent: [organization] define admin: [user] or admin from system define member: [user] ``` In this case, it's clear that you have two hierarchies, one is recursive and the other is not. - - - ## Related Sections