fix: 移除 carrier 表 billing_day 字段(模型 + 数据库迁移)

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-03-31 18:11:29 +08:00
parent 7f42d198eb
commit d7ade821f4
3 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
-- 回滚:恢复 billing_day 字段
ALTER TABLE tb_carrier ADD COLUMN IF NOT EXISTS billing_day INT DEFAULT 1;
COMMENT ON COLUMN tb_carrier.billing_day IS '运营商计费日(用于流量查询接口的计费周期计算,联通=27其他=1';