summaryrefslogtreecommitdiff
path: root/lib/pleroma/ecto_enums.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/ecto_enums.ex')
-rw-r--r--lib/pleroma/ecto_enums.ex8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/pleroma/ecto_enums.ex b/lib/pleroma/ecto_enums.ex
index d9b601223..6fc47620c 100644
--- a/lib/pleroma/ecto_enums.ex
+++ b/lib/pleroma/ecto_enums.ex
@@ -4,10 +4,16 @@
import EctoEnum
-defenum(UserRelationshipTypeEnum,
+defenum(Pleroma.UserRelationship.Type,
block: 1,
mute: 2,
reblog_mute: 3,
notification_mute: 4,
inverse_subscription: 5
)
+
+defenum(Pleroma.FollowingRelationship.State,
+ follow_pending: 1,
+ follow_accept: 2,
+ follow_reject: 3
+)