feat: 新增卡状态检查轮询数据库迁移

tb_polling_config 新增 card_status_check_interval INT NULL
tb_iot_card 新增 last_card_status_check_at TIMESTAMPTZ NULL
含 IF NOT EXISTS 保证幂等,含完整回滚文件

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-04-15 12:21:21 +08:00
parent 71048e31d4
commit e2003eb9e3
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
ALTER TABLE tb_polling_config
DROP COLUMN IF EXISTS card_status_check_interval;
ALTER TABLE tb_iot_card
DROP COLUMN IF EXISTS last_card_status_check_at;