mirror of
https://github.com/diced/zipline.git
synced 2026-04-28 10:43:06 -07:00
feat: invites & user registration
This commit is contained in:
@@ -198,8 +198,9 @@ model Invite {
|
||||
updatedAt DateTime @updatedAt
|
||||
expiresAt DateTime?
|
||||
|
||||
code String @unique
|
||||
used Boolean @default(false)
|
||||
code String @unique
|
||||
uses Int @default(0)
|
||||
maxUses Int?
|
||||
|
||||
inviter User @relation(fields: [inviterId], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
||||
inviterId String
|
||||
|
||||
Reference in New Issue
Block a user