class AddPrefsToMOdrs < ActiveRecord::Migration[6.0]
  def change
    add_column :m_odrs, :name_label, :string
    add_column :m_odrs, :firstname_label, :string
    add_column :m_odrs, :placeholder, :boolean, :default => false
    add_column :m_odrs, :email_process, :boolean, :default => true
    add_column :m_odrs, :tel_process, :boolean, :default => true
    add_column :m_odrs, :rib_needed, :boolean, :default => true
    add_column :m_odrs, :address_needed, :boolean, :default => true
    add_column :m_odrs, :confirm_case_needed, :boolean, :default => false
    add_column :m_odrs, :confirm_case_label, :string, :default => false
    add_column :m_odrs, :product_cat_label, :string
    add_column :m_odrs, :product_label, :string
    add_column :m_odrs, :qte_label, :string
    add_column :m_odrs, :place_label, :string
  end
end
