Change Invoice::Item price scale to 3 places

This commit is contained in:
Karl Erik Õunapuu 2020-09-10 12:00:13 +03:00
parent 3decec8b02
commit d62e55e6a1
No known key found for this signature in database
GPG key ID: C9DD647298A34764
5 changed files with 18 additions and 16 deletions

View file

@ -0,0 +1,5 @@
class ChangeInvoiceItemPriceScaleToThreePlaces < ActiveRecord::Migration[6.0]
def change
change_column :invoice_items, :price, :decimal, precision: 10, scale: 3
end
end