stretta

Tables (6)

RolePermission (역할에 허가된 기능)

  • 역할 기능의 id (rolePermission_id) — Primary key — NOT NULL
  • 역할의 id (role_id) — Foreign key → role.역할의 id — NOT NULL

products (상품)

  • 상품 id (product_id) — Primary key — NOT NULL

profile (유저 프로필)

  • 사용자 id (user_id) — Primary key — NOT NULL
  • 역할의 id (role_id) — Foreign key → role.역할의 id — NOT NULL

role (역할)

  • 역할의 id (role_id) — Primary key — NOT NULL

userActivityLogs (유저의 활동 로그)

  • 활동 로그의 id (userActivity_id) — Primary key — NOT NULL
  • 사용자 id (user_id) — Foreign key → profile.사용자 id — NOT NULL
  • 역할의 id (role_id) — Foreign key → profile.역할의 id — NOT NULL

userSettings (유저의 설정)

  • 유저 설정의 id (userSetting_id) — Primary key — NOT NULL