PK
classroom_id Integer
NOT_NULL,name Varchar(200)
description Text
therapist_id Integer
PK, FK
user_id Integer
full_name Varchar(200)
qualifications Text
enrollment_id Integer
FK classroom_id Integer
FK patient_id Integer
enrolled_at Timestamp
PK patient_id Integer
NOT_NULL,display_name Varchar(200)
dob Date
sensory_profile Jsonb
Diagnosis Varchar(100)
id Integer
model_name Varchar(200)
version Varchar(50)
config Jsonb
trained_on Text
deployed_at Timestamp
assignment_id Integer
FK template_id Integer
due_date Date
FK created_by Integer
created_at Timestamp
template_id Integer
NOT_NULL,title Varchar(250)
modalities Text[]
difficulty Smallint
default_settings Jsonb
sensor_data_id Integer
FK attempt_id Integer
FK device_id Integer
ts Timestamp
payload Jsonb
device_id Integer
NOT_NULL,device_type Varchar(50)
NOT_NULL,identifier Varchar(200)
location Varchar(200)
profile_id Integer
model_state Jsonb
start_trained_at Timestamp
last_trained_at Timestamp
report_id Integer
FK therapist_id Integer
period_start Date
period_end Date
summary Jsonb
session_id Integer
NOT_NULL start_time Timestamp
end_time Timestamp
duration_minutes Integer
PK admin_id Integer
NOT_NULL email Varchar(255)
NOT_NULL password_hash Text
NOT_NULL role Varchar(20)
NOT_NULL created_at Timestamp
notification_id Integer
FK user_id Integer
title Varchar(250)
body Text
is_read Boolean
by James