drizzle-team / drizzle-orm

Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
https://orm.drizzle.team
Apache License 2.0
21.57k stars 490 forks source link

[BUG]: d1 getting started #2240

Open janat08 opened 2 months ago

janat08 commented 2 months ago

What version of drizzle-orm are you using?

docs question

What version of drizzle-kit are you using?

docs question

Describe the Bug

d1 getting started guide doesn't explain how to get a --file=./drizzle/0000_short_lockheed.sql file

Expected behavior

i assume that there's suppose to be some drizzle init command, it's not mentioned in docs. that dir doesn't exist.

Environment & setup

No response

janat08 commented 2 months ago

I looked at drizzle kit, and that's the answer, but it's not a getting started guide if you don't have a sqlite file to init d1 db with.