Fix Rails/ThreeStateBooleanColumn
cop (#33269)
This commit is contained in:
parent
bcb3b627b9
commit
d6241f6751
21 changed files with 27 additions and 18 deletions
|
@ -5,7 +5,7 @@ class CreateImports < ActiveRecord::Migration[5.0]
|
|||
create_table :imports do |t|
|
||||
t.integer :account_id, null: false
|
||||
t.integer :type, null: false
|
||||
t.boolean :approved
|
||||
t.boolean :approved # rubocop:disable Rails/ThreeStateBooleanColumn
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue