Skip to content

Commit

Permalink
Schema changes for user/profile
Browse files Browse the repository at this point in the history
  • Loading branch information
plexus committed Aug 19, 2024
1 parent 8f360d6 commit 37b2c3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/co/gaiwan/compass/db/schema.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
;; keyword | long | ref | string | symbol | tuple | uuid | uri

(def schema
[[:user/uuid :uuid "Unique user identifier" :identity]
[:user/public-profile :ref "User's public profile"]
[:user/private-profile :ref "User's public profile"]
[:user/confidantes :ref "People you connected with / accepted a connection
[;; Start user entity
[:user/uuid :uuid "Unique user identifier" :identity]
[:user/contacts :ref "People you connected with / accepted a connection
request from. A :u/c B means that user A agrees to show their public profile
to user B. When two people connect we create connections in both directions,
each person can subsequently revoke their side of the connection (I no longer
Expand All @@ -27,6 +26,7 @@
[:private-profile/name :string "User name visible to contacts"]
[:private-profile/links :ref "Links that are only visible to contacts" :many]
[:private-profile/bio :string "Free-form Markdown field"]
;; End user entity

[:profile-link/user :ref "User this link belongs too"]
[:profile-link/type :string "`mastodon`, `linkedin`, `personal-site`, etc."]
Expand Down

0 comments on commit 37b2c3f

Please sign in to comment.