Change invoices.issue_date database column to NOT NULL

Closes #1008
This commit is contained in:
Artur Beljajev 2019-03-15 19:31:51 +02:00
parent 6fa1ce9128
commit 30ea880211
6 changed files with 8 additions and 60 deletions

View file

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