feat: 归档旧迁移文件,创建初始化数据迁移和重置脚本

This commit is contained in:
2026-04-14 11:24:35 +08:00
parent c35542f911
commit 5e9e41db21
231 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
-- 新增 activated 轮询配置:覆盖已实名+在线的卡
-- 修复问题activated 状态的卡无匹配配置导致不被轮询,套餐过期后无法触发停机
INSERT INTO tb_polling_config (
config_name, card_condition, card_category, carrier_id,
priority, realname_check_interval, carddata_check_interval, package_check_interval,
status, created_at, updated_at
) VALUES (
'已激活在线卡', 'activated', 'normal', 1566,
2, 30, 60, 60,
1, NOW(), NOW()
)
ON CONFLICT DO NOTHING;