Add db constraint

This commit is contained in:
Artur Beljajev 2019-08-11 23:11:26 +03:00
parent c013f563f3
commit 18e6f511aa
3 changed files with 211 additions and 204 deletions

View file

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

File diff suppressed because it is too large Load diff