class AddImportInfosToPCustomers < ActiveRecord::Migration[6.0]
  def change
    add_column :p_customers, :past_id, :integer
    add_column :p_customers, :imp_cp, :string
    add_column :p_customers, :imp_country, :string
    add_column :p_customers, :imp_ref, :string
    add_column :p_customers, :imp_email, :string
    add_column :p_customers, :imp_firstname, :string
    add_column :p_customers, :imp_name, :string
    add_column :p_customers, :imp_fonction, :string
    add_column :p_customers, :imp_organisme, :string
    add_column :p_customers, :imp_address, :string
    add_column :p_customers, :imp_cp2, :string
    add_column :p_customers, :imp_city, :string
    add_column :p_customers, :imp_tel, :string
    add_column :p_customers, :imp_portable, :string
    add_column :p_customers, :imp_lien, :string
    add_column :p_customers, :imp_comment, :string
    add_column :p_customers, :imp_iban, :string
    add_column :p_customers, :imp_bic, :string
    add_column :p_customers, :imp_circuit_1, :integer
    add_column :p_customers, :imp_circuit_2, :integer
    add_column :p_customers, :imp_circuit_3, :integer
    add_column :p_customers, :imp_ecran, :string
    add_column :p_customers, :imp_partenaire, :string
    add_column :p_customers, :imp_blocage, :string
    add_column :p_customers, :imp_valid, :string
    add_column :p_customers, :imp_user_valid, :string
    add_column :p_customers, :imp_offre, :string
    add_column :p_customers, :imp_info, :string
    add_column :p_customers, :imp_cgu, :string
    add_column :p_customers, :imp_test, :string
    add_column :p_customers, :imp_stickers, :string
    add_column :p_customers, :imp_npai, :string
    add_column :p_customers, :npai, :boolean, :default => false
    add_column :p_customers, :imp_relance_adresse, :string
    add_column :p_customers, :imp_demande_info, :string
    add_column :p_customers, :imp_creation, :date
    add_column :p_customers, :imp_modification, :date
  end
end
