You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/coaching.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,9 @@ erDiagram
14
14
session_status status "pending | confirmed | cancelled | completed"
15
15
text meeting_url
16
16
text notes
17
-
time[] selected_time_slots
17
+
jsonb selected_time_slots "array of {start, end} objects"
18
18
timestamp created_at
19
+
timestamp updated_at
19
20
}
20
21
21
22
profiles ||--o{ coaching_sessions : "coach leads"
@@ -26,6 +27,6 @@ erDiagram
26
27
## Notes
27
28
28
29
-`scheduled_at` is null by default — it is set once the user selects a specific slot from `selected_time_slots`.
29
-
-`selected_time_slots`holds the time options offered to the user before a slot is confirmed.
30
+
-`selected_time_slots`is a JSON array of `{ start, end }` objects (ISO 8601 strings) representing the time options offered to the user e.g. `[{ "start": "2026-04-14T14:00:00Z", "end": "2026-04-14T17:00:00Z" }]`.
30
31
-`meeting_url` is provided by the coach after confirmation.
31
32
-`status = completed` is set after the session ends.
0 commit comments