Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
21.52k
stars
487
forks
source link
[BUG]: drizzle-kit push reads all files in schema folder instead of only index.ts #2572
Open
stabildev opened 3 days ago
What version of
drizzle-orm
are you using?0.31.2
What version of
drizzle-kit
are you using?0.22.8
Describe the Bug
I store SQL files in my schema folder.
Expected behavior
should be equivalent to
Instead, drizzle-kit tries to read the schema from the colocated SQL files that are not exported from
index.ts
Environment & setup
No response