Fix Rails/ThreeStateBooleanColumn cop (#33269)

This commit is contained in:
Matt Jankowski 2024-12-11 09:25:48 -05:00 committed by GitHub
parent bcb3b627b9
commit d6241f6751
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 27 additions and 18 deletions

View file

@ -14,8 +14,10 @@ class CreateSeveredRelationships < ActiveRecord::Migration[7.0]
t.integer :direction, null: false
# Those attributes are carried over from the `follows` table
# rubocop:disable Rails/ThreeStateBooleanColumn
t.boolean :show_reblogs
t.boolean :notify
# rubocop:enable Rails/ThreeStateBooleanColumn
t.string :languages, array: true
t.timestamps