demarches-normaliennes/db/migrate/20231017092437_add_browser_to_traitements.rb

10 lines
365 B
Ruby
Raw Permalink Normal View History

# 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