AAcharioteerGlobal Marketplace
Selected market context: EN · IN · INRBuyerSellerWalletAccountERP

Admin workspace

Enterprise Admin Console

Governance, executive dashboards, observability, module control, and ERP route clarity.

Trade-Core DB Audit Guide

Safe audit guide before moving trade-core from in-memory stores to Postgres persistence.

Audit Checklist

  • inspect backend/config/db.js
  • inspect backend/routes/tradeCore.js
  • confirm existing trade tables
  • identify current in-memory stores
  • plan DB mapping before code

In-Memory to DB Mapping

ORDERStrade_orders
WALLET_LEDGERtrade_wallet_ledger
ACTIVITYtrade_activity_log
NOTIFICATIONStrade_notifications

Safety Rules

  • no manual psql
  • use backend/config/db.js only
  • create route/script for schema check
  • test with localhost curl
  • no frontend changes during DB migration

Related Pages

DB Persistence ReadinessNext Work QueueCodex Handoff