Separate invite resend and regeneration and add copy link

This commit is contained in:
2026-09-10 12:01:15 -04:00
parent d44ef7348c
commit a7541104ef
7 changed files with 97 additions and 12 deletions
+1
View File
@@ -304,6 +304,7 @@ export const invites = pgTable(
status: inviteStatus("status").notNull().default("pending"),
email: text("email"),
tokenHash: text("token_hash").notNull(),
tokenEncrypted: text("token_encrypted"),
reusable: boolean("reusable").notNull().default(false),
maxUses: integer("max_uses").notNull().default(1),
usedCount: integer("used_count").notNull().default(0),