fix(gate): triggerType nullable with no default per Section 2
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 27s
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 27s
- Producer must explicitly write its source (api/admin/scheduled/...) - No database default to mask missing writes Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e1d777e5aa
commit
a5b210f314
@ -0,0 +1,5 @@
|
||||
-- M-AI-02-GATE Section 2: triggerType 统一为 nullable 无默认值
|
||||
-- Producer 必须显式写自己的来源,不得依赖数据库默认 'api' 掩盖缺失写入
|
||||
|
||||
ALTER TABLE `AiAnalysisJob`
|
||||
MODIFY COLUMN `triggerType` VARCHAR(32) NULL;
|
||||
Loading…
x
Reference in New Issue
Block a user