incourse

Tables (4)

Users (Untitled)

  • 1 (id) — Primary key — NOT NULL
  • 2 (accoint_id) — Foreign key → account_roles.1 — NOT NULL
  • 3 (name)
  • 4 (email)
  • 1 (user_id) — Foreign key → role_user.1 — NOT NULL

account_roles (Untitled2)

  • 1 (account) — Primary key — NOT NULL
  • 2 (name)

role_user (Untitled3)

  • 1 (role_id) — Primary key — NOT NULL
  • 2 (user_id)

roles table (CopyOfUntitled)

  • 2 (role)
  • 1 (role_id) — Foreign key → role_user.1 — NOT NULL