FollowingRelationship storage & performance optimizations (state turned `ecto_enum...
[akkoma] / lib / pleroma / ecto_enums.ex
index d9b60122376ec708ee95165d027b27984aced627..b98ac4ba132caa335b7c0be9513aa441525c862b 100644 (file)
@@ -11,3 +11,9 @@ defenum(UserRelationshipTypeEnum,
   notification_mute: 4,
   inverse_subscription: 5
 )
+
+defenum(FollowingRelationshipStateEnum,
+  follow_pending: 1,
+  follow_accept: 2,
+  follow_reject: 3
+)