earlybird

Tables (3)

Account (계정)

  • username (로그인 아이디)
  • password (비밀번호)
  • role (역할, 권한)

Ticket (지각 면제권)

  • id (지각 면제권 id) — Primary key — NOT NULL
  • user_id (사용자 id) — Foreign key → User.id — NOT NULL
  • description (설명)
  • expiredAt (유효기간)
  • usedAt (사용일자)
  • createdAt (생성일자)

User (유저)

  • id (사용자 id) — Primary key — NOT NULL
  • name (이름)
  • createdAt (생성일자)