12 lines
609 B
Ruby
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
|