Skip to content

Commit

Permalink
docs: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
fdarian committed Jul 14, 2024
1 parent 5100db0 commit bb8491e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ Available options:
```prisma
model Table {
/// drizzle.custom {
/// "imports": [{ "name": ["SomeBigInt"], "module": "~/tests/shared/testFieldCustomization", "type": true }],
/// "$type": "SomeBigInt",
/// "default": "() => 1n",
/// "imports": [{ "name": ["UserId"], "module": "~/models/user", "type": true }],
/// "$type": "UserId",
/// "default": "() => 1",
/// "field": { "mode": "number" }
/// }
column BigInt
Expand Down
6 changes: 3 additions & 3 deletions packages/generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ Available options:
```prisma
model Table {
/// drizzle.custom {
/// "imports": [{ "name": ["SomeBigInt"], "module": "~/tests/shared/testFieldCustomization", "type": true }],
/// "$type": "SomeBigInt",
/// "default": "() => 1n",
/// "imports": [{ "name": ["UserId"], "module": "~/models/user", "type": true }],
/// "$type": "UserId",
/// "default": "() => 1",
/// "field": { "mode": "number" }
/// }
column BigInt
Expand Down

0 comments on commit bb8491e

Please sign in to comment.