Database

Manage DB

Browse collections and tables, and watch the CQRS timing pipeline.

← Overviewβ€’Core HierarchyMulti-Tenant Root

Organizationsorganizations

Root tenant entity representing governing bodies, race directors, and timing service companies.

Table Columns & Types (7)

organizations
ColumnPostgreSQL TypeConstraintsDefaultDocumentation
iduuid
NOT NULLPK
gen_random_uuid()Unique tenant identifier.
nametext
NOT NULL
β€”Display name of the organization (e.g. "Wasatch Mountain Club").
slugtext
NOT NULLUnique
β€”URL-safe routing identifier used in tenant subdomains or paths.
logotext
nullable
β€”Logo URL (Better Auth organization plugin).
metadatatext
nullable
β€”Serialized JSON metadata (Better Auth organization plugin).
createdAttimestamp with time zone
NOT NULL
now()UTC registration timestamp.
updatedAttimestamp with time zone
NOT NULL
now()UTC last modification timestamp.

Database Indexes (1)

Index NameColumnsTypeQuery Performance Rationale
organizations_slug_unique(slug)UNIQUEEnsures URL slugs are strictly unique across all tenants for web routing.