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

8 lines
334 B
Ruby
Raw Normal View History

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