feat: create workspace

This commit is contained in:
Henry
2024-03-18 22:41:19 +00:00
parent 7aa64db983
commit 96bcc2afc7
11 changed files with 190 additions and 45 deletions

View File

@@ -122,8 +122,6 @@ export const boardRouter = createTRPCRouter({
where: eq(workspaces.publicId, input.workspacePublicId),
})
console.log({ workspace })
if (!workspace) return;
return ctx.db.insert(boards).values({