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

@@ -45,6 +45,7 @@ export const projectRouter = createTRPCRouter({
data: {
id: await getId('project', name),
organizationSlug: organizationSlug,
organizationId: organizationSlug,
name: name,
},
});