FollowingRelationship storage & performance optimizations (state turned ecto_enum-driven integer, reorganized indices etc.).
This commit is contained in:
parent
4e81b4b190
commit
be9d18461a
17 changed files with 128 additions and 45 deletions
|
|
@ -11,3 +11,9 @@ defenum(UserRelationshipTypeEnum,
|
|||
notification_mute: 4,
|
||||
inverse_subscription: 5
|
||||
)
|
||||
|
||||
defenum(FollowingRelationshipStateEnum,
|
||||
follow_pending: 1,
|
||||
follow_accept: 2,
|
||||
follow_reject: 3
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue