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:
3
migrations/000100_remove_carrier_billing_day.down.sql
Normal file
3
migrations/000100_remove_carrier_billing_day.down.sql
Normal 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)';
|
||||
Reference in New Issue
Block a user