Sha256: 65bb53fa3c41b8ac5e248cbbb77adf2dd02e05b888ad32555e65b832b6e53d57

Contents?: true

Size: 298 Bytes

Versions: 4

Compression:

Stored size: 298 Bytes

Contents

class AddBalanceToInvoice < ActiveRecord::Migration
  def change
    add_column :invoices, :balance_id, :integer
    add_column :invoices, :calculate_balance_strategy_type_id, :integer

    add_index   :invoices, :balance_id
    add_index   :invoices, :calculate_balance_strategy_type_id
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
erp_invoicing-3.0.6 db/migrate/20120605150425_add_balance_to_invoice.rb
erp_invoicing-3.0.5 db/migrate/20120605150425_add_balance_to_invoice.rb
erp_invoicing-3.0.4 db/migrate/20120605150425_add_balance_to_invoice.rb
erp_invoicing-3.0.3 db/migrate/20120605150425_add_balance_to_invoice.rb