Change invoices.vat_rate to NOT NULL

#1031
This commit is contained in:
Artur Beljajev 2019-05-16 19:15:57 +03:00
parent 942ac47b00
commit a0aac379b6
4 changed files with 8 additions and 57 deletions

View file

@ -0,0 +1,5 @@
class ChangeInvoicesVatRateToNotNull < ActiveRecord::Migration
def change
change_column_null :invoices, :vat_rate, false
end
end