Skip to content

Commit

Permalink
fix: make invoice JSON not nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
nymous committed Jan 19, 2025
1 parent d786742 commit 05f125a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion db/migrate/20240620123448_create_invoices.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class CreateInvoices < ActiveRecord::Migration[7.0]
def change
create_table :invoices do |t|
t.jsonb :generation_json
t.jsonb :generation_json, null: false

t.timestamps
end
Expand Down
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 05f125a

Please sign in to comment.