Skip to content

Database

The schema creates these tables:

  • marketplace_users: shop profiles.
  • marketplace_listings: active and historical listings.
  • marketplace_bids: classic bids.
  • marketplace_mailbox: items and money waiting to be collected.
  • marketplace_history: event history.
  • marketplace_ratings: ratings.
  • marketplace_favorites: favourites.
  • marketplace_deliveries: NPC or logistics deliveries.
  • marketplace_trades: in-person trades.
  • marketplace_proxy_bids: maximum automatic bids.
  • marketplace_follows: seller follows.
  • marketplace_wishlist: wanted-item alerts.
  • marketplace_reports: moderation reports.
  • marketplace_refunds: refund requests.
  • marketplace_messages: messages and conversations.

Stores the seller’s public profile and status.

Stores the listing, its type, price, status, images, delivery mode, rarity and other metadata.

Stores traditional bids.

Stores items and money delivered to the mailbox.

Stores the history of transactions and events.

Stores ratings from buyers to sellers.

Links users with favourite listings.

Records deliveries in transit, delivered, robbed or failed.

Records in-person trades and their status.

Stores the maximum automatic bid limit per player and listing.

Follow relationships between player and seller.

Active alerts by item and maximum price.

Reports submitted by players.

Refund requests and resolutions.

Chat messages and proposals linked to listings.