Unable to generate migration for sqlite
Hello!
After upgrading to drizzle-kit 0.20.2 from 0.19.13 I can't generate migrations anymore. I'm using libsql and the error when running
is about postgres:
Any ideas? Did the command changed? I'm not using drizzle.config file
Thanks in advance!
My schema uses
If I try to downgrade to the working version, it won't allow me:
4 Replies
Update: seems like a build error. I can see
drizzle-orm/pg-core
in my node_modules
Update 2: I'm on a turborepo and for some reason drizzle-orm was installed in a package's node_module instead of the repo's node_module. It works if I add drizzle-orm
as a root dependency but seems weird to do thatI see the same thing, I think pg is now accidentally required for drizzle, even for sqlite projects?
Edit: updating dependencies fixed it, though migration files are empty
Same thing for me
How can we resolve it?
getting the same issue