Require invoices.total

#623
This commit is contained in:
Artur Beljajev 2018-03-13 14:49:36 +02:00
parent 9a4380fd96
commit fb35ec5cbb
2 changed files with 8 additions and 1 deletions

View file

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