20170529170639_add_credit_payment_to_cash_moves_again.rb 259 B

1234567
  1. class AddCreditPaymentToCashMovesAgain < ActiveRecord::Migration
  2. def change
  3. unless column_exists?(:cash_registers_moves, :credit_payment_id)
  4. add_column :cash_registers_moves, :credit_payment_id, :integer, index: true, null: true
  5. end
  6. end
  7. end