demarches-normaliennes/db/migrate/20231017092437_add_browser_to_traitements.rb
2024-08-22 09:26:48 +02:00

9 lines
365 B
Ruby

# frozen_string_literal: true
class AddBrowserToTraitements < ActiveRecord::Migration[7.0]
def change
add_column :traitements, :browser_name, :string, null: true
add_column :traitements, :browser_version, :integer, null: true
add_column :traitements, :browser_supported, :boolean, null: true # rubocop:disable Rails/ThreeStateBooleanColumn
end
end