rename replies_policy enumerables (#15304)
This commit is contained in:
parent
f379a52d74
commit
127c543a6e
4 changed files with 11 additions and 11 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue