Fix Rails/ThreeStateBooleanColumn
cop (#33269)
This commit is contained in:
parent
bcb3b627b9
commit
d6241f6751
21 changed files with 27 additions and 18 deletions
|
@ -6,7 +6,7 @@ class CreateLoginActivities < ActiveRecord::Migration[6.1]
|
|||
t.belongs_to :user, null: false, foreign_key: { on_delete: :cascade }
|
||||
t.string :authentication_method
|
||||
t.string :provider
|
||||
t.boolean :success
|
||||
t.boolean :success # rubocop:disable Rails/ThreeStateBooleanColumn
|
||||
t.string :failure_reason
|
||||
t.inet :ip
|
||||
t.string :user_agent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue