video-shuoshan/backend/apps/generation/migrations/0011_add_completed_at.py
seaislee1209 49616128da
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m31s
feat: v0.13.2 消费记录增加耗时列
- GenerationRecord 新增 completed_at 字段,任务完成/失败时记录时间
- 超管/团管/个人消费记录 API 返回 completed_at
- RecordsPage、TeamRecordsPage 表格新增"耗时"列
- CSV 导出包含耗时字段
- 历史记录 completed_at 为空显示"-"

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 01:56:26 +08:00

19 lines
448 B
Python

# Generated by Django 4.2.29 on 2026-03-24 17:01
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('generation', '0010_generationrecord_seed'),
]
operations = [
migrations.AddField(
model_name='generationrecord',
name='completed_at',
field=models.DateTimeField(blank=True, null=True, verbose_name='完成时间'),
),
]