add fk(orgId) for all create

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-06-16 22:21:13 +02:00
parent 1fc64ef1f9
commit 4f9c624d08
8 changed files with 12 additions and 3 deletions

View File

@@ -30,6 +30,7 @@ export const dashboardRouter = createTRPCRouter({
id: await getId('dashboard', name),
projectId: projectId,
organizationSlug: organizationSlug,
organizationId: organizationSlug,
name,
},
});