mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
ChangeInvoicesRequiredColumnsToNotNullPart2
This commit is contained in:
parent
3be20eeec2
commit
13ff0b1183
3 changed files with 15 additions and 3 deletions
|
@ -0,0 +1,7 @@
|
|||
class ChangeInvoicesRequiredColumnsToNotNullPart2 < ActiveRecord::Migration
|
||||
def change
|
||||
change_column_null :invoices, :seller_email, false
|
||||
change_column_null :invoices, :seller_contact_name, false
|
||||
change_column_null :invoices, :buyer_email, false
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue