Change invoices.vat_rate DB column type

#623
This commit is contained in:
Artur Beljajev 2018-02-28 09:02:23 +02:00
parent dc620e7780
commit fccc6eb9f0
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class ChangeInvoicesVatRateType < ActiveRecord::Migration
def change
change_column :invoices, :vat_rate, :decimal, precision: 4, scale: 3
end
end