Randark
615e6901ea
feat(channel-monitor): add quota mode schema (migration 226 + ent)
- 迁移 226:provider CHECK 扩到 8 平台(monitors + request_templates)、
channel_monitors 加 check_mode/account_id(FK ON DELETE SET NULL)、
channel_monitor_histories 加 quota JSONB、插入公开设置
channel_monitor_show_quota(默认 false)
- ent schema 同步:provider 枚举 +4、endpoint 去 NotEmpty(quota 模式存空串)、
新增 check_mode/account_id 字段、history 加 quota JSON 快照
- domain 新增归一化配额快照类型 MonitorQuotaSnapshot/Tier/Balance
(放 domain 是因为 ent schema 需要引用,service 会造成 import cycle)
2026-08-18 03:50:01 +00:00
..
2026-07-01 12:21:45 +08:00
2025-12-29 10:03:27 +08:00
2026-08-18 03:50:01 +00:00