Database

Manage DB

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

← Overviewβ€’ParticipantsGlobal Identity

Peoplepeople

Global human identity record with contact info, optionally linked to a login.

Table Columns & Types (10)

people
ColumnPostgreSQL TypeConstraintsDefaultDocumentation
iduuid
NOT NULLPK
gen_random_uuid()Unique person identifier.
userIduuid
nullableFK -> users.idUnique
β€”Login that claimed this person. Null for people who have never signed in.
firstNametext
NOT NULL
β€”First name.
lastNametext
NOT NULL
β€”Last name.
gendertext
nullable
β€”Gender identity for category assignment.
birthdatetext
nullable
β€”Birthdate string (YYYY-MM-DD) for age-group calculation.
emailtext
nullable
β€”Primary contact email.
phonetext
nullable
β€”Mobile contact phone.
addressjsonb (AddressSchema)
nullable
β€”Residential address.
createdAttimestamp with time zone
NOT NULL
now()Creation timestamp.

Database Indexes (2)

Index NameColumnsTypeQuery Performance Rationale
people_email_idx(email)INDEXAccelerates user authentication and participant lookup during registration.
people_name_idx(lastName, firstName)INDEXSpeeds up competitor alphabetical searches in timing kiosks.