Fix Rails/ThreeStateBooleanColumn
cop (#33269)
This commit is contained in:
parent
bcb3b627b9
commit
d6241f6751
21 changed files with 27 additions and 18 deletions
|
@ -2,6 +2,6 @@
|
|||
|
||||
class AddLocalToStatuses < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
add_column :statuses, :local, :boolean, null: true, default: nil
|
||||
add_column :statuses, :local, :boolean, null: true, default: nil # rubocop:disable Rails/ThreeStateBooleanColumn
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue