Prisma schema for a github-like multi-tenant saas
Github's individual/org/team UI inspired how I want my apps experience to be like. I'm allowing both individuals and organizations to create accounts. I created this to be flexible since I'm not fully sure how I want to handle everything just yet.
Hope someone finds it helpful.
Features/Capabilities
Hope someone finds it helpful.
Features/Capabilities
- Individual user accounts
- Organization accounts
- Users can belong to zero or more organizations
- Team support
- Organizations can have zero or more teams
- Role-based access control that is flexible
- Different roles for users in different organizations