Database

Manage DB

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

Domain Collections21
Architectural Categories9
Write Plane Ledger1 (Immutable)
Read Projections1 (Standings)

⚡High-Performance Timing Domain Pipeline

CQRS Architecture

ChekkPoint cleanly separates continuous high-throughput hardware pulse ingestion (Write Plane) from calculated checkpoint leaderboards and split projections (Read Plane), governed by strict audit controls and multi-tenant hierarchies.

1. Configuration & Roster

Hierarchy & Courses

Organizations host EventGroups containing Events. Courses map physical TimingPoints to logical CourseSplits. People register as Entrants.

organizationseventGroupscoursespeopleentrants
2. Write Plane (Audit Ledger)

Immutable UTC Pulses

RFID mats, lasers, ham radios, and offline PWAs append raw pulses. Zero updates or deletes. Replaces loose boolean flags with single-status validation.

rawTimingEventstimingPoints
3. Read Plane & Operations

Materialized Standings

Scoring workers project elapsed times, dwell seconds, and TSD penalties. Time allowances extend cutoffs; audits record every manual steward change.

scoredSplitTimestimeAllowancessplitTimeAudits
4. Competitor History & Projections

Athletic Intelligence & SAR

Multi-source scraping (UltraSignup, Strava, DUV, ITRA) with MFDA disambiguation. Pacing models predict split arrival windows and flag SAR/cutoff risks.

personExternalProfilespersonRaceHistorypersonHistoricalSummariesentrantHistoricalProjections

All Domain Collections (21)

Click to inspect schema specification or live records
Core HierarchyMulti-Tenant Root

Organizationsorganizations

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

idnamesluglogometadata+2 more
Core HierarchyOperational Boundary

Event Groupsevent_groups

The fundamental weekend/venue grouping sharing physical bib space, timing points, and volunteers.

idorganizationIdnameslugdiscipline+6 more
Course & GeographyPhysical Track

Coursescourses

Physical course track, distance, elevation profile, and GPX navigation route file.

idorganizationIdnamedistanceMeterselevationGainMeters+3 more
Core HierarchyRace Instance

Eventsevents

A specific race contest within an EventGroup running over a Course.

ideventGroupIdcourseIdnamelapsRequired+3 more
Course & GeographyGround Station

Timing Pointstiming_points

Physical coordinates and ground hardware location where volunteers or transponder mats sit.

idorganizationIdnamecodelatitude+3 more
Course & GeographyLogical Milestone

Course Splitscourse_splits

A logical milestone along a course at a cumulative distance, pointing to a physical TimingPoint.

idcourseIdtimingPointIdnamesequenceOrder+6 more
ParticipantsGlobal Identity

Peoplepeople

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

iduserIdfirstNamelastNamegender+5 more
ParticipantsScored Competitor

Entrantsentrants

The scored competitive unit in a race (Bib #, Plate #, or Car #) and polymorphic participant data.

ideventIdpersonIdcompetitorNumberrfidCode+13 more
Competitor History & IntelligenceExternal Platform Identity

Person External Profilesperson_external_profiles

External platform accounts (UltraSignup, Strava, DUV, ITRA) linked to an individual person.

idpersonIdplatformexternalIdentifierprofileUrl+9 more
Competitor History & IntelligenceAthletic Provenance

Person Race Historyperson_race_history

Individual past race results, finishes, and DNFs achieved by a person across platforms and years.

idpersonIdexternalProfileIdplatformraceName+14 more
Competitor History & IntelligenceIntelligence Rollup

Person Historical Summariesperson_historical_summaries

Materialized 1:1 career intelligence rollup for a person, computing experience tier and DNF risk.

idpersonIdtotalRacestotalFinishestotalDnfs+11 more
Competitor History & IntelligencePredictive Pacing & SAR

Entrant Historical Projectionsentrant_historical_projections

Event-specific materialized pacing projections and volunteer safety badges for an entrant.

identrantIdpersonIdprojectedFinishSecondsprojectedPaceSecondsPerKm+7 more
Write Plane (Audit Ledger)Immutable Append-Only

Raw Timing Eventsraw_timing_events

High-frequency ingestion ledger recording raw timing pulses in UTC with device telemetry.

ideventGroupIdcompetitorNumbertimingPointCodesubSplitKind+10 more
Read Plane (Standings)Materialized Projection

Scored Split Timesscored_split_times

Materialized leaderboard standings, cumulative elapsed times, dwell seconds, and regularity penalties.

identrantIdcourseSplitIdlapsubSplitKind+11 more
Operations & AuditsDisaster Recovery

Time Allowancestime_allowances

Mandatory medical holds, safety stops, and hazard holds deducted from net elapsed time.

identrantIdsplitIdstartTimeendTime+5 more
Operations & AuditsForensic Log

Split Time Auditssplit_time_audits

Forensic audit log capturing every manual status change, timestamp edit, or steward recalculation.

idsplitTimeIdactionpreviousStatenewState+3 more
Access & StaffingBetter Auth Login

Usersusers

Login identities managed by Better Auth. Sessions, accounts, and verification tokens are not browsable here.

idnameemailemailVerifiedimage+6 more
Access & StaffingOrg Roles

Organization Membersorganization_members

Which users belong to which organization, and with what roles.

idorganizationIduserIdrolecreatedAt
Access & StaffingStaff Roster

Event Group Staffevent_group_staff

Volunteers, checkpoint captains, officials, and medical staff for an event group.

ideventGroupIdpersonIdrolescreatedAt
Access & StaffingCheckpoint Assignment

Staff Timing Pointsevent_group_staff_timing_points

Timing points each volunteer or checkpoint captain is stationed at.

staffIdtimingPointId
System DemoElectricSQL Starter

Hello Worldhello_world

Starter demonstration table testing ElectricSQL sync, SQLite OPFS persistence, and live queries.

idmessagecreatedAtupdatedAt