From 52065b1ac17fb1de234527ee1e573426312ccac2 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Sun, 7 Jun 2026 20:08:14 +0000 Subject: [PATCH] Document platform DB grant for ladill.com payment QR forwarding. Co-authored-by: Cursor --- DEPLOY.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/DEPLOY.md b/DEPLOY.md index e1111e5..c372554 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -5,7 +5,15 @@ codes with amount entry, no catalog. Takings settle into the one platform UserWallet (5% fee), then withdraw via `account.ladill.com`. Public scans stay at `ladill.com/q/` (blueprint decision — printed codes -never migrate). During cutover, nginx can proxy payment-type codes to this app. +never migrate). The platform host forwards payment codes to this app (see +`MiniQrForwarder` on the monolith); grant the platform DB user read access: + +```bash +sudo mysql -e "GRANT SELECT ON ladill_mini.qr_codes TO 'ladilldb'@'127.0.0.1'; FLUSH PRIVILEGES;" +``` + +Set `MINI_DB_*` on the platform `.env` if the lookup user differs from the +main app DB user. ---