intra_app/db/migrate/20180822165754_add_donnees_to_p_customer.rb
Nicolas Bally 761e075bb6 initial
2018-11-08 21:47:30 +01:00

13 lines
540 B
Ruby

class AddDonneesToPCustomer < ActiveRecord::Migration
def change
add_column :p_customers, :fav, :boolean
add_column :p_customers, :facture_email, :boolean
add_column :p_customers, :risque, :boolean
add_column :p_customers, :admin_id, :integer
add_column :p_customers, :cache_ca, :decimal, precision: 14, scale: 4
add_column :p_customers, :cache_encours, :decimal, precision: 14, scale: 4
add_column :p_customers, :cache_moyenne_paiement, :integer
add_column :p_customers, :payment_days, :integer
end
end