2
0

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
21 changed files with 27 additions and 18 deletions

View File

@@ -2,6 +2,6 @@
class AddAdminToUsers < ActiveRecord::Migration[4.2]
def change
add_column :users, :admin, :boolean, default: false
add_column :users, :admin, :boolean, default: false # rubocop:disable Rails/ThreeStateBooleanColumn
end
end