fix bug
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 2m10s
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 2m10s
This commit is contained in:
parent
cc80acf2b9
commit
1da10e8136
@ -43,6 +43,8 @@ async def init_db():
|
||||
# Bug severity (1-10 AI评估等级)
|
||||
"ALTER TABLE errorlog ADD COLUMN IF NOT EXISTS severity INTEGER",
|
||||
"ALTER TABLE errorlog ADD COLUMN IF NOT EXISTS severity_reason TEXT",
|
||||
# Project repair_enabled toggle
|
||||
"ALTER TABLE project ADD COLUMN IF NOT EXISTS repair_enabled BOOLEAN DEFAULT TRUE",
|
||||
# Seed Project table from existing ErrorLog data
|
||||
"""INSERT INTO project (project_id, created_at, updated_at)
|
||||
SELECT DISTINCT e.project_id, NOW(), NOW()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user