Skip to content

Commit

Permalink
add null false to customer invoice_custom_section setting
Browse files Browse the repository at this point in the history
  • Loading branch information
annvelents committed Nov 27, 2024
1 parent a2d861a commit dd91b54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/models/customer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def ensure_slug
# shipping_country :string
# shipping_state :string
# shipping_zipcode :string
# skip_invoice_custom_sections :boolean default(FALSE)
# skip_invoice_custom_sections :boolean default(FALSE), not null
# slug :string
# state :string
# tax_identification_number :string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

class AddSkipInvoiceCustomSectionsToCustomers < ActiveRecord::Migration[7.1]
def change
add_column :customers, :skip_invoice_custom_sections, :boolean, default: false
add_column :customers, :skip_invoice_custom_sections, :boolean, default: false, null: false
end
end
2 changes: 1 addition & 1 deletion db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dd91b54

Please sign in to comment.