Update enum
away from deprecated (#29678)
This commit is contained in:
parent
01464074c9
commit
cdd168f5d3
3 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ class RelationshipSeveranceEvent < ApplicationRecord
|
|||
|
||||
has_many :severed_relationships, inverse_of: :relationship_severance_event, dependent: :delete_all
|
||||
|
||||
enum type: {
|
||||
enum :type, {
|
||||
domain_block: 0,
|
||||
user_domain_block: 1,
|
||||
account_suspension: 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue