fixed all commented issues

This commit is contained in:
Dan Mihailescu 2024-12-18 10:11:29 -05:00
parent 87921c24a0
commit ea0ce134fe
5 changed files with 35 additions and 37 deletions

Binary file not shown.

View file

@ -30,7 +30,7 @@ model Session {
id String @id @default(uuid())
expiresAt DateTime
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
updatedAt DateTime @default(now()) @updatedAt
userId String
user User @relation(references: [id], fields: [userId])
}
@ -41,7 +41,7 @@ model Post {
title String
content String
published Boolean? @default(false)
author User @relation(fields: [authorId], references: [id])
author User @relation(references: [id], fields: [authorId])
authorId String
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt