video-shuoshan/backend/apps/accounts/migrations/0012_user_last_read_announcement.py
seaislee1209 0ab5523ed1
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m5s
feat: v0.12.6 公告弹窗 + HTML 编辑器
①公告改为弹窗(用户未读自动弹出,已读不再弹)
②生成页右上角小铃铛按钮可重新查看公告
③公告支持 HTML 渲染(加粗/红字/蓝字/标题/分割线/列表)
④超管公告编辑器加格式工具栏 + 预览按钮
⑤去掉旧的公告横幅

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 20:57:58 +08:00

19 lines
480 B
Python

# Generated by Django 4.2.29 on 2026-03-23 12:28
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounts', '0011_team_max_concurrent_tasks_user_spending_limit'),
]
operations = [
migrations.AddField(
model_name='user',
name='last_read_announcement',
field=models.DateTimeField(blank=True, null=True, verbose_name='最后阅读公告时间'),
),
]