VideoCallSessions table

The VideoCallSessions table in the FitStack - V2 schema has 11 columns, keyed by Id. 1 column in CoachAppointments references it.

WebRTC session. TURN credentials are issued at runtime and never stored.

Columns (11)

Columns of the VideoCallSessions table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
AppointmentIduuidnot nullCASCADE. v2 FIX: the index is now UNIQUE — v1 allowed unlimited sessions per appointment.
StartedAttimestamp with time zonenot null
EndedAttimestamp with time zone
EndReasontext`CallEndReason` as TEXT.
RecordingUrlcharacter varying(2048)
RecordingConsentedByClientbooleannot nullv2 ADD. A recording of a health consultation must not exist without the client having said yes.
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (1)

  • (AppointmentId) unique (IX_VideoCallSessions_AppointmentId)

Relationships