Skip to content
Snippets Groups Projects
Commit fd324f31 authored by Yusuf Akgül's avatar Yusuf Akgül :hatching_chick:
Browse files

Merge branch 'profile' into 'main'

Profile

See merge request !38
parents 730e3738 95b938d3
No related branches found
No related tags found
1 merge request!38Profile
Pipeline #39781 passed
export const UserNotFound = () => {
return (
<div className="">
<h1>This account does not exist.</h1>
<p>Try searching for another.</p>
</div>
)
}
\ No newline at end of file
This diff is collapsed.
......@@ -81,24 +81,12 @@ model User {
regweets Regweet[]
likes Like[]
following Follows[] @relation("following")
followers Follows[] @relation("follower")
following User[] @relation("followers")
followers User[] @relation("followers")
@@map("users")
}
model Follows {
followerId String
followingId String
createdAt DateTime @default(now()) @map("created_at")
follower User @relation("following", fields: [followerId], references: [id])
following User @relation("follower", fields: [followingId], references: [id])
@@id([followerId, followingId])
@@map("follows")
}
model Gweet {
id String @id @default(cuid())
authorId String @map("user_id")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment