Skip to content

Commit d0cf7e7

Browse files
committed
customer nullable
1 parent bac1bac commit d0cf7e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

db/migrations/0025_tax_ids.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ create table if not exists
33
"id" text primary key,
44
"object" text,
55
"country" text,
6-
"customer" text not null,
6+
"customer" text,
77
"type" text,
88
"value" text,
99
"created" integer not null,

src/schemas/tax_id.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ export const taxIdSchema: JsonSchema = {
1414
livemode: { type: 'boolean' },
1515
owner: { type: 'object' },
1616
},
17-
required: ['id', 'customer'],
17+
required: ['id'],
1818
} as const

0 commit comments

Comments
 (0)