mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-07 06:08:54 +00:00
added endpoints for profile and feed
This commit is contained in:
parent
9e6eeb27fd
commit
1800056918
22 changed files with 952 additions and 110 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue