chore: sync schema with scrum4me@43a4294 + write metadata in log tools

PR #2 merged, so the StoryLog.metadata JSONB column is live. Sync
the vendored schema and wire `metadata` through to prisma.create in
log_implementation, log_test_result and log_commit. Cast via
Prisma.InputJsonValue because Zod parses the input as a generic
record while Prisma's JSON input type is invariant.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Janpeter Visser 2026-04-26 23:44:33 +02:00
parent ea1c94b05b
commit 008fda1019
5 changed files with 11 additions and 6 deletions

View file

@ -167,6 +167,7 @@ model StoryLog {
status TestStatus?
commit_hash String?
commit_message String?
metadata Json?
created_at DateTime @default(now())
@@index([story_id, created_at])