Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 27bcd1f

Browse files
committed
refactor(comment): add doc
1 parent 64d1ad3 commit 27bcd1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/groupher_server/cms/article_comment.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ defmodule GroupherServer.CMS.ArticleComment do
2525
@max_participator_count 5
2626
@max_parent_replies_count 3
2727

28+
# NOTE: if you want to add/remove emotion, just edit the list below
29+
# and migrate the field to table "articles_comments_users_emotions"
2830
@supported_emotions [:downvote, :beer, :heart, :biceps, :orz, :confused, :pill, :popcorn]
2931
@max_latest_emotion_users_count 5
3032

0 commit comments

Comments
 (0)