0
0
Fork 0

rename replies_policy enumerables (#15304)

This commit is contained in:
trwnh 2020-12-08 21:34:17 -06:00 committed by GitHub
parent f379a52d74
commit 127c543a6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

View file

@ -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