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 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue