- Schema: status TEXT NOT NULL DEFAULT 'researching' on thread_candidates - Zod: candidateStatusSchema enum (researching/ordered/arrived) added to createCandidateSchema - Service: getThreadWithCandidates selects status, createCandidate sets status, updateCandidate accepts status - Client hooks: CandidateWithCategory and CandidateResponse types include status field - Migration generated and applied Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 line
81 B
SQL
1 line
81 B
SQL
ALTER TABLE `thread_candidates` ADD `status` text DEFAULT 'researching' NOT NULL; |