fix(models): 修改TodayPlan speaker字段的删除行为和默认值

将speaker字段的on_delete行为从SET_NULL改为CASCADE,并设置默认值为1
删除旧的迁移文件0005_initial_speaker.py,使用新的0005_add_speaker_fields.py替代
This commit is contained in:
2026-01-23 21:05:45 +08:00
parent 004f528c7f
commit aea1450efa
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
# Generated by Django 5.1.4
# Generated by Django 5.1.4 on 2026-01-23 13:04
import django.db.models.deletion
from django.db import migrations, models