Fix Rails/ThreeStateBooleanColumn cop (#33269)

This commit is contained in:
Matt Jankowski 2024-12-11 09:25:48 -05:00 committed by GitHub
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

@ -5,7 +5,7 @@ class CreatePreviewCardProviders < ActiveRecord::Migration[6.1]
create_table :preview_card_providers do |t|
t.string :domain, null: false, default: '', index: { unique: true }
t.attachment :icon
t.boolean :trendable
t.boolean :trendable # rubocop:disable Rails/ThreeStateBooleanColumn
t.datetime :reviewed_at
t.datetime :requested_review_at
t.timestamps