coton_app/db/migrate/20190203134413_change_numeric_field_in_payments.rb
Nicolas Bally 46d54dfafd suite
2019-02-04 09:19:05 +01:00

7 lines
253 B
Ruby

class ChangeNumericFieldInPayments < ActiveRecord::Migration
def change
change_column :p_payments, :amount, :decimal, :precision => 12, :scale => 2
change_column :p_payment_documents, :amount, :decimal, :precision => 12, :scale => 2
end
end