Merge branch 'gitignore-runtime-exs' into 'develop'
[akkoma] / lib / pleroma / ecto_enums.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 import EctoEnum
6
7 defenum(Pleroma.UserRelationship.Type,
8 block: 1,
9 mute: 2,
10 reblog_mute: 3,
11 notification_mute: 4,
12 inverse_subscription: 5
13 )
14
15 defenum(Pleroma.FollowingRelationship.State,
16 follow_pending: 1,
17 follow_accept: 2,
18 follow_reject: 3
19 )
20
21 defenum(Pleroma.DataMigration.State,
22 pending: 1,
23 running: 2,
24 complete: 3,
25 failed: 4,
26 manual: 5
27 )