docs: sync from backend 8fc2309 — M43/M44 missing FKs + H37 dispute enums
This commit is contained in:
@@ -532,7 +532,7 @@ The `messages` column stores all dispute messages in a single JSONB array. Any f
|
||||
|
||||
---
|
||||
|
||||
### 37. disputes status/priority/category stored as plain text instead of pgEnum
|
||||
### 37. disputes status/priority/category stored as plain text instead of pgEnum | **FIXED** `8fc2309` v2.9.30
|
||||
|
||||
> **Category:** Wrong Schema | **File:** `src/db/schema/dispute.ts:90-92`
|
||||
|
||||
@@ -1014,7 +1014,7 @@ When `input.legacyObjectId` is set, the code does a SELECT to check existence (l
|
||||
|
||||
---
|
||||
|
||||
### 43. purchase_requests.categoryId and selectedOfferId have no FK references declared — orphaned rows can be created
|
||||
### 43. purchase_requests.categoryId and selectedOfferId have no FK references declared — orphaned rows can be created | **FIXED** `8fc2309` v2.9.30
|
||||
|
||||
> **Category:** Data Integrity | **File:** `src/db/schema/purchaseRequest.ts:143, 175`
|
||||
|
||||
@@ -1024,7 +1024,7 @@ When `input.legacyObjectId` is set, the code does a SELECT to check existence (l
|
||||
|
||||
---
|
||||
|
||||
### 44. purchase_request child table FK columns lack .references() declarations — cascade deletes not enforced by DDL
|
||||
### 44. purchase_request child table FK columns lack .references() declarations — cascade deletes not enforced by DDL | **FIXED** `8fc2309` v2.9.30
|
||||
|
||||
> **Category:** Data Integrity | **File:** `src/db/schema/purchaseRequest.ts:260, 315, 338, 363`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user