Create default workspace on user creation #157
Labels
good first issue
Good for newcomers
scope: api
Everything related to the API
type: enhancement
New feature or request
Milestone
Description
For the frontend to work properly, we need to create a default workspace for the user whenever they sign up. Requirements:
isDefault
in prisma schemacreateWorkspace
and its associated functions inworkspace.servvice.ts
to separate files undercommon
module. You may need to pass around theprisma
object as reference to these functionscreateWorkspace
function whenever a user signs up, or an admin creates the account. Relevant code can be found inauth.service.ts
anduser.service.ts
workspace.service.ts
is updated accordinglyThe text was updated successfully, but these errors were encountered: