realdocs

Tables (7)

Documents (Untitled6)

  • 문서ID (id) — Primary key — NOT NULL
  • 워크스페이스ID (workspaceId) — Foreign key → Workspaces.워크스페이스ID — NOT NULL

Organizations (Untitled3)

  • 조직ID (id) — Primary key — NOT NULL

UserDocRoles (Untitled7)

  • 유저ID (userId) — Foreign key → Users.유저ID — NOT NULL
  • 문서ID (documentId) — Foreign key → Documents.문서ID — NOT NULL
  • Field (role)

UserOrgRoles (Untitled)

  • 유저ID (userId) — Foreign key → Users.유저ID — NOT NULL
  • 조직ID (orgId) — Foreign key → Organizations.조직ID — NOT NULL
  • 역할명 (role)

UserWorkspaceRoles (Untitled5)

  • 유저ID (userId) — Foreign key → Users.유저ID — NOT NULL
  • 워크스페이스ID (workspaceId) — Foreign key → Workspaces.워크스페이스ID — NOT NULL
  • 역할명 (role)

Users (Untitled2)

  • 유저ID (id) — Primary key — NOT NULL
  • 역할명 (role)

Workspaces (Untitled4)

  • 워크스페이스ID (id) — Primary key — NOT NULL
  • 조직ID (orgId) — Foreign key → Organizations.조직ID — NOT NULL