From 9849fcec877bf7acf46ead8294727aff2b862f7a Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Tue, 21 Jul 2026 19:13:28 +0700 Subject: [PATCH] docs(deploy): refresh persisted storage layout --- docs/deploy-coolify-selfhosted.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/deploy-coolify-selfhosted.md b/docs/deploy-coolify-selfhosted.md index ca98d5c..6355d97 100644 --- a/docs/deploy-coolify-selfhosted.md +++ b/docs/deploy-coolify-selfhosted.md @@ -101,11 +101,12 @@ Successful GIF replies include the result behind Telegram spoiler formatting. > counts and creates indexes on startup. Deleted legacy command rows are > retained with `deleted: true`; `/stats` queries filter those rows from visible > results. A historical `system` collection may remain in MongoDB with completed -> migration records. Stock stores cash as `vnd` and embeds positions as -> `assets..{quantity,base,dividendCheckedAt}`. Coin stores cash as `usd` -> and embeds positions as `assets..{quantity,base}`. Completed migration -> records remain in `system` as audit history; the completed one-time migration -> code no longer runs at startup. +> migration records; keep those records as audit history. Stock stores cash as +> `vnd`, embeds positions as +> `assets..{quantity,base,dividendCheckedAt,openedAt}`, and retains +> applied dividend identities under `appliedDividendEvents`. Coin stores cash as +> `usd` and embeds positions as `assets..{quantity,base}`. No completed +> one-time migration code runs at startup. ## 2. Coolify