Update enum
away from deprecated (#29678)
This commit is contained in:
parent
01464074c9
commit
cdd168f5d3
3 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ class SeveredRelationship < ApplicationRecord
|
|||
belongs_to :local_account, class_name: 'Account'
|
||||
belongs_to :remote_account, class_name: 'Account'
|
||||
|
||||
enum direction: {
|
||||
enum :direction, {
|
||||
passive: 0, # analogous to `local_account.passive_relationships`
|
||||
active: 1, # analogous to `local_account.active_relationships`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue