RunSessionInvitations table

The RunSessionInvitations table in the FitStack - V2 schema has 9 columns, keyed by Id, with 2 foreign keys to RunSessions and Users.

Columns (9)

Columns of the RunSessionInvitations table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
RunSessionIduuidnot null, references RunSessions.Id
InvitedUserIdtextnot null, references Users.Id
Statusintegernot null`InvitationStatus`.
Roleintegernot null`RunSessionRole`.
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (1)

  • (RunSessionId, InvitedUserId) unique (IX_RunSessionInvitations_RunSessionId_InvitedUserId)

Relationships

  • RunSessionInvitations.RunSessionId references RunSessions.Id
  • RunSessionInvitations.InvitedUserId references Users.Id