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-3.13.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.12.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.11.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.10.3 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.10.2 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.10.1 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.10.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.9.8 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.9.7 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.9.6 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.9.5 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.9.4 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.9.3 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.9.2 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.9.1 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.9.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.8.1 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.8.0 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.7.8 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb
dorsale-3.7.7 db/migrate/20151012181412_add_commercial_discount_to_invoices_and_quotations.rb