Data model

    Relationship Graph And Access Model

    The linked Supabase schema shows Family Shapes as a graph product with explicit access control. Family trees can belong to groups or organizations, persons join trees through membership rows, connections link people, and collaborator plus invitation tables govern who can work inside a sensitive tree.

    Model details

    Entities

    organizationsgroupsfamily_treesfamily_tree_memberspersonsconnectionsfamily_tree_collaboratorsfamily_tree_invitations

    Source

    src/types/database.ts

    Open source

    Summary

    The linked Supabase schema shows Family Shapes as a graph product with explicit access control. Family trees can belong to groups or organizations, persons join trees through membership rows, connections link people, and collaborator plus invitation tables govern who can work inside a sensitive tree.