This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/db/migrate/20210621110532_add_cc_to_v_contacts.rb
2021-08-23 10:26:02 +02:00

12 lines
609 B
Ruby

class AddCcToVContacts < ActiveRecord::Migration[6.0]
def change
add_column :v_contacts, :cc_cagnotte, :decimal, :precision => 14, :scale => 2
add_column :v_contacts, :cc_total, :decimal, :precision => 14, :scale => 2
add_column :v_contacts, :cc_remise, :decimal, :precision => 14, :scale => 2
add_column :v_contacts, :ac_cagnotte, :decimal, :precision => 14, :scale => 2
add_column :v_contacts, :ac_total, :decimal, :precision => 14, :scale => 2
add_column :v_contacts, :ac_remise, :decimal, :precision => 14, :scale => 2
add_column :v_contacts, :societe_id, :integer
end
end