studygz

Tables (3)

ASSET (자산)

  • user_id (userId) — Foreign key → USER.ID — NOT NULL
  • 보유 현금 (balance)
  • 보유 코인 (coinBalance)

TradeOrder (주문)

  • id — AUTO_INCREMENT — Primary key — NOT NULL
  • user_id (userId) — Foreign key → USER.ID — NOT NULL
  • 주문타입 (OrderType)
  • Field2 (amount)
  • 가격 (price)
  • Field (orderTime)

USER (유저)

  • ID (id) — AUTO_INCREMENT — Primary key — NOT NULL
  • 이메일 (email)
  • 이름 (username)
  • 비밀번호 (password)