Sha256: 2c60601e16689398932d270e0dc67bcc0bf66fb2d1d4478f6c979ad55cbf9465

Contents?: true

Size: 433 Bytes

Versions: 116

Compression:

Stored size: 433 Bytes

Contents

class AddCommercialDiscountToInvoicesAndQuotations < ActiveRecord::Migration
  def change
    add_column :dorsale_billing_machine_quotations, :commercial_discount, :decimal
    add_column :dorsale_billing_machine_invoices, :commercial_discount, :decimal
  end

  def down
    remove_column :dorsale_billing_machine_quotations, :commercial_discount
    remove_column :dorsale_billing_machine_invoices, :commercial_discount
  end

end

Version data entries

116 entries across 116 versions & 1 rubygems

Version Path
dorsale-4.0.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.20.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.19.1 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.19.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.18.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.17.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.16.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.15.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.14.11 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.14.10 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.14.9 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.14.8 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.14.7 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.14.6 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.14.5 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.14.4 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.14.3 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.14.2 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.14.1 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.14.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb