X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fecto_enums.ex;h=b98ac4ba132caa335b7c0be9513aa441525c862b;hb=be9d18461a5ed6bd835e2eba8d3b54ba61fc51fb;hp=b86229312672592c7b77fd28b31a4feaf060446f;hpb=9ef912aecfbeef670db0614ec2014321c37f3b7a;p=akkoma diff --git a/lib/pleroma/ecto_enums.ex b/lib/pleroma/ecto_enums.ex index b86229312..b98ac4ba1 100644 --- a/lib/pleroma/ecto_enums.ex +++ b/lib/pleroma/ecto_enums.ex @@ -1,5 +1,5 @@ # Pleroma: A lightweight social networking server -# Copyright © 2017-2019 Pleroma Authors +# Copyright © 2017-2020 Pleroma Authors # SPDX-License-Identifier: AGPL-3.0-only import EctoEnum @@ -11,3 +11,9 @@ defenum(UserRelationshipTypeEnum, notification_mute: 4, inverse_subscription: 5 ) + +defenum(FollowingRelationshipStateEnum, + follow_pending: 1, + follow_accept: 2, + follow_reject: 3 +)