docs: sync from backend c39b14a — M38 review UUID FKs, M40 decimal.js balances, M41 trezor concurrency

This commit is contained in:
Siavash Sameni
2026-06-07 07:35:34 +04:00
parent beec0c0a59
commit 0b78ad2e74
2 changed files with 13 additions and 3 deletions

View File

@@ -968,7 +968,7 @@ The `(type, source)` composite index has `type` as the leading column. Admin que
---
### 38. reviews table stores seller/reviewer as legacy text IDs rather than proper UUID FKs
### 38. reviews table stores seller/reviewer as legacy text IDs rather than proper UUID FKs | **FIXED** `c39b14a` v2.9.32
> **Category:** Wrong Schema | **File:** `src/services/marketplace/reviewStore.ts:88-102`
@@ -988,7 +988,7 @@ Both `type` and `category` are text columns with TypeScript `$type<>` casts only
---
### 40. FundsLedgerBalance derived fields use JS float64 arithmetic on PG numeric(38,18) values — precision loss on crypto amounts
### 40. FundsLedgerBalance derived fields use JS float64 arithmetic on PG numeric(38,18) values — precision loss on crypto amounts | **FIXED** `c39b14a` v2.9.32
> **Category:** Wrong Schema | **File:** `src/db/repositories/drizzle/DrizzlePaymentRepo.ts:1440-1470`
@@ -998,7 +998,7 @@ Both `type` and `category` are text columns with TypeScript `$type<>` casts only
---
### 41. trezor_accounts.nextAddressIndex has no concurrency safety mechanism — concurrent transactions can derive duplicate addresses
### 41. trezor_accounts.nextAddressIndex has no concurrency safety mechanism — concurrent transactions can derive duplicate addresses | **FIXED** `c39b14a` v2.9.32
> **Category:** Wrong Schema | **File:** `src/db/schema/trezorAccount.ts:78`