added endpoints for profile and feed

This commit is contained in:
Kai Ritthaler 2025-06-26 11:10:52 +02:00 committed by mrProm3theus
parent 9e6eeb27fd
commit 1800056918
22 changed files with 952 additions and 110 deletions

View file

@ -89,7 +89,7 @@ model Comment {
}
model Like {
id String @id @default(uuid())
@@id([postId, userId])
createdAt DateTime @default(now())
post Post @relation(fields: [postId], references: [id])