feat: added db field for onboardingAnswers in participant

This commit is contained in:
averel10
2026-04-02 07:14:03 +02:00
parent 4922fdc770
commit 0fb932ba5b
4 changed files with 926 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ export const participant = sqliteTable(
experimentId: integer('experiment_id').references(() => experiment.id),
userId: text('user_id').notNull(),
calibrationAnswers: text('calibration_answers', { mode: 'json' }),
onboardingAnswers: text('onboarding_answers', { mode: 'json' }),
createdAt: integer('created_at', { mode: 'timestamp' })
.notNull()
.default(sql`(unixepoch())`),