about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authortrwnh <a@trwnh.com>2020-12-08 21:34:17 -0600
committerGitHub <noreply@github.com>2020-12-09 04:34:17 +0100
commit127c543a6e59d20de68e6760e952d18ed53578e9 (patch)
tree8abee15c3920ffa56c56e60c353af563ee7e6242 /app/models
parentf379a52d745dbd765b4ba1fb3133ed6fad3e7c1b (diff)
rename replies_policy enumerables (#15304)
Diffstat (limited to 'app/models')
-rw-r--r--app/models/list.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/list.rb b/app/models/list.rb
index 8493046e5..655d55ff6 100644
--- a/app/models/list.rb
+++ b/app/models/list.rb
@@ -8,7 +8,7 @@
 #  title          :string           default(""), not null
 #  created_at     :datetime         not null
 #  updated_at     :datetime         not null
-#  replies_policy :integer          default("list_replies"), not null
+#  replies_policy :integer          default("list"), not null
 #
 
 class List < ApplicationRecord
@@ -16,7 +16,7 @@ class List < ApplicationRecord
 
   PER_ACCOUNT_LIMIT = 50
 
-  enum replies_policy: [:list_replies, :all_replies, :no_replies], _prefix: :show
+  enum replies_policy: [:list, :followed, :none], _prefix: :show
 
   belongs_to :account, optional: true