Steps to see the problem
pnpm drizzle-kit generate:sqlite --schema=./schema.ts
- Run using SQLite DB only
- pnpm tsx run-sqlite-core-json.ts
- Run using D1 SQLite DB
- pnpm tsx run-sqlite-d1-json.ts
Expected output
[
{
id: 1,
name: 'test',
roles: { foo: 'bar' },
jobs: [ 'foo', 'bar' ]
}
]
There are also a set of tests using vitest.
pnpm vitest