Skip to content

Commit

Permalink
feat: add user follows
Browse files Browse the repository at this point in the history
  • Loading branch information
moontai0724 committed Dec 9, 2023
1 parent 0840e6f commit 75d93bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cophr.dbml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ Table users {
note: "使用者基本資料"
}

Table user_follows {
user int [pk, ref: > users.id]
target int [pk, ref: > users.id]

note: "使用者追蹤的人"
}

Table user_profile_page {
user int [not null, ref: > users.id]
settings JSON [not null, note: "個人頁面相關設定,JSON 格式原始資料"]
Expand Down

0 comments on commit 75d93bb

Please sign in to comment.