2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2023-10-17 12:00:16 +02:00
|
|
|
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
|