feat: migrate monthly city trade rates

This commit is contained in:
2026-07-25 16:16:10 +00:00
parent f8bd3b4138
commit f8645a4576
12 changed files with 320 additions and 17 deletions
+3 -3
View File
@@ -261,9 +261,9 @@ const buildCityUpdate = (
if (trust !== null) {
data.trust = trust;
}
if (trade !== null) {
data.trade = trade;
}
// trade가 없는 도시는 레거시 DB에서 NULL이다. City meta에 trade가
// 없다는 사실도 dirty city의 전체 snapshot 일부로 영속화한다.
data.trade = trade;
if (region !== null) {
data.region = region;
}