Drizzle-Kit: incorrect schema.ts being used

I have some schema files in a subfolder. I have referenced the path in the drizzle.config.ts, but instead drizzle just creates a schema file in the drizzle directory next to migration files. What gives?
3 Replies
Asseater Peter
Asseater Peter16mo ago
Could you share some more info? The drizzle config, file structure, are you using a central schema file or glob?
SteveS
SteveSOP16mo ago
Ugh. Nevermind. It was because I was inspecting my db with drizzle studio which needed a restart to recognize new tables
Asseater Peter
Asseater Peter16mo ago
happens ¯\_(ツ)_/¯
Want results from more Discord servers?
Add your server