feat: 移除图片生成记录中的尺寸字段,调整归档逻辑以支持异步处理
This commit is contained in:
@@ -18,7 +18,6 @@ CREATE TABLE IF NOT EXISTS `image_generations` (
|
||||
`prompt` TEXT NOT NULL COMMENT '用户输入的生图提示词',
|
||||
`status` ENUM('QUEUED', 'RUNNING', 'SUCCEEDED', 'FAILED') NOT NULL DEFAULT 'RUNNING' COMMENT '生图状态',
|
||||
`model` VARCHAR(64) NOT NULL DEFAULT 'gpt-image-2' COMMENT '生图模型',
|
||||
`size` VARCHAR(32) NOT NULL DEFAULT '1024x1024' COMMENT '图片尺寸',
|
||||
`started_at` DATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT '生图开始时间',
|
||||
`ended_at` DATETIME(3) NULL COMMENT '生图结束时间',
|
||||
`duration_ms` INT NULL COMMENT '生图耗时,单位毫秒',
|
||||
|
||||
Reference in New Issue
Block a user