Order DB

PostgreSQL database for orders and their status history. Only the Order API reads or writes it.

  • Tables: orders, order_items and order_status_history. History rows are never updated, so each order keeps a full audit trail.
  • Anonymization: on user.deleted, the Order API replaces the user reference and address with placeholders. Totals and items are kept for accounting.
  • In prod: Amazon RDS (module.order_db), with automated backups and point-in-time recovery.

Edit ./docs/containers/order_db.md to change this text.