We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4eb4b37 commit 935ad5bCopy full SHA for 935ad5b
app/auth/auth.ts
@@ -10,7 +10,7 @@ if (secret === "default") {
10
secret = "default-secret";
11
}
12
13
-let authCookie = createCookie("auth", {
+const authCookie = createCookie("auth", {
14
secrets: [secret],
15
// 30 days
16
maxAge: 30 * 24 * 60 * 60,
prisma/schema.prisma
@@ -36,10 +36,9 @@ model Board {
36
updatedAt DateTime @updatedAt
37
38
39
-
40
model BoardRole {
41
id String @id @default(uuid())
42
- role String // owner, editor
+ role String // owner, editor
43
board Board @relation(fields: [boardId], references: [id], onDelete: Cascade)
44
boardId String
45
user User @relation(fields: [userId], references: [id])
0 commit comments