Skip to content

Commit

Permalink
update ERD
Browse files Browse the repository at this point in the history
  • Loading branch information
susumutomita committed May 20, 2024
1 parent c8be7ef commit 02e18cd
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/app/prisma/ERD.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,36 @@ erDiagram
"Post" {
Int id "πŸ—οΈ"
DateTime createdAt
DateTime updatedAt
String title
DateTime createdAt
DateTime updatedAt
String title
String body "❓"
Boolean draft
Boolean notice
String scope
Boolean draft
Boolean notice
String scope
DateTime publishedAt "❓"
Int authorId
Int authorId
}
"User" {
Int id "πŸ—οΈ"
String email
String email
String name "❓"
}
"Tag" {
Int id "πŸ—οΈ"
String name
String name
}
"PostTag" {
Int postId "πŸ—οΈ"
Int tagId "πŸ—οΈ"
}
"Post" o|--|| "User" : "author"
"Post" o{--}o "PostTag" : "tags"
"User" o{--}o "Post" : "posts"
Expand Down

0 comments on commit 02e18cd

Please sign in to comment.