RunLeaderboardEntries table

The RunLeaderboardEntries table in the FitStack - V2 schema has 16 columns, keyed by Id, with 2 foreign keys to RunSessionLeaderboards and RunSessionParticipants.

Columns (16)

Columns of the RunLeaderboardEntries table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
LeaderboardIduuidnot null, references RunSessionLeaderboards.Id
ParticipantIduuidnot null, references RunSessionParticipants.Id
Metricintegernot null
DistanceMetersnumericnot null
DurationSecondsintegernot null
AveragePaceSecondsPerKmnumeric
ElevationGainMetersnumeric
SplitsCompletedintegernot null
Rankintegernot null
Scoredouble precisionnot null
UpdatedAttimestamp with time zonenot null
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (1)

  • (LeaderboardId, ParticipantId) unique (IX_RunLeaderboardEntries_LeaderboardId_ParticipantId)

Relationships