Skip to content

Commit f148a47

Browse files
committed
commentű kesz
1 parent 753ac1e commit f148a47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

prisma/schema.prisma

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ model Comment {
7272
id Int @id @default(autoincrement())
7373
7474
text String
75-
date @default(now())
76-
75+
date DateTime @default(now())
76+
7777
postId Int
78-
post Post @relation(fields: [postId], references: [id])
78+
post Post @relation(fields: [postId], references: [id])
7979
8080
userId Int
81-
user User @relation(fields: [userId], references: [id])
81+
user User @relation(fields: [userId], references: [id])
8282
8383
}

0 commit comments

Comments
 (0)