"chore(data): 移除b.csv测试数据文件"

This commit is contained in:
1
2025-12-21 18:22:07 +00:00
parent 38f51a5111
commit f9d7f0ea68
7 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
UPDATE "player_info"
SET data = jsonb_set(
data,
'{exp_pool}',
-- 直接复用查询中的计算逻辑确保结果一致
to_jsonb(COALESCE((data->>'exp_pool')::int, 0) + 50000000),
true -- 字段不存在时自动初始化为10
)
WHERE player_id = 10001;