mirror of
https://github.com/soconnor0919/hristudio.git
synced 2025-12-11 14:44:44 -05:00
docs: update participant trialCount documentation; fix participants view & experiments router diagnostics; add StepPreview placeholder and block-converter smoke test
This commit is contained in:
@@ -202,6 +202,9 @@ CREATE TABLE actions (
|
||||
|
||||
```sql
|
||||
-- Participants in studies
|
||||
-- NOTE: The application exposes a computed `trialCount` field in API list responses.
|
||||
-- This value is derived at query time by counting linked trials and is NOT persisted
|
||||
-- as a physical column in this table to avoid redundancy and maintain consistency.
|
||||
CREATE TABLE participants (
|
||||
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||
study_id UUID NOT NULL REFERENCES studies(id) ON DELETE CASCADE,
|
||||
|
||||
Reference in New Issue
Block a user