feat: Add tenant table/logic #50

Merged
piopi merged 6 commits from add-tenant-table into master 2025-01-14 22:29:24 -05:00
piopi commented 2025-01-13 09:16:19 -05:00 (Migrated from github.com)

close #39

close #39
DanMihailescu (Migrated from github.com) reviewed 2025-01-13 09:16:19 -05:00
BenjaminPalko (Migrated from github.com) reviewed 2025-01-14 09:09:57 -05:00
BenjaminPalko (Migrated from github.com) commented 2025-01-14 09:09:57 -05:00

is this the orgId?

is this the orgId?
BenjaminPalko (Migrated from github.com) reviewed 2025-01-14 09:12:36 -05:00
BenjaminPalko (Migrated from github.com) commented 2025-01-14 09:12:35 -05:00

it should default to this table name, no caps. If we want to specify it then lets do it for all tables?

it should default to this table name, no caps. If we want to specify it then lets do it for all tables?
BenjaminPalko (Migrated from github.com) reviewed 2025-01-14 09:25:38 -05:00
BenjaminPalko (Migrated from github.com) commented 2025-01-14 09:25:33 -05:00

clerkOrganizationId*

clerkOrganizationId*
@ -20,0 +18,4 @@
id String @default(uuid())
clerkId String
tenant Tenant @relation(fields: [tenantId], references: [id])
tenantId String
BenjaminPalko (Migrated from github.com) commented 2025-01-14 09:25:14 -05:00

clerkUserId*

clerkUserId*
BenjaminPalko (Migrated from github.com) reviewed 2025-01-14 22:13:29 -05:00
BenjaminPalko (Migrated from github.com) commented 2025-01-14 22:13:29 -05:00

users

`users`
BenjaminPalko (Migrated from github.com) approved these changes 2025-01-14 22:26:39 -05:00
Sign in to join this conversation.
No description provided.