parent
a6b5e64e15
commit
e5ab4a3eb2
9 changed files with 104 additions and 21 deletions
|
@ -12,10 +12,11 @@
|
|||
# keyword :string not null
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# count :integer default(0), not null
|
||||
#
|
||||
class NgwordHistory < ApplicationRecord
|
||||
include Paginable
|
||||
|
||||
enum target_type: { status: 0, account_note: 1, account_name: 2 }, _suffix: :blocked
|
||||
enum reason: { ng_words: 0, ng_words_for_stranger_mention: 1 }, _prefix: :within
|
||||
enum reason: { ng_words: 0, ng_words_for_stranger_mention: 1, hashtag_count: 2, mention_count: 3, stranger_mention_count: 4 }, _prefix: :within
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue