4nZ
4nZ
DTDrizzle Team
Created by Jackson Kasi on 10/22/2024 in #help
Issue: Error during `db:push` - TypeError in Drizzle Kit with PostgreSQL
Hey @Jackson Kasi , I have faced the same error, when updating my schema, (pnpm drizzle-kit pull). I think instead of using the 'postgres' driver to query the DB, try using 'pg' driver to query. Doing so solved my issue. https://www.npmjs.com/package/pg
3 replies
DTDrizzle Team
Created by 4nZ on 10/23/2024 in #help
Error while using pulling schemas using drizzle-kit
ok, i think i found the mistake : the 'pg' package wasn't installed. After adding the package, i ran pnpm drizzle-kit pull and got the schema's coming in all-together. 👍👍 It seems like the 'pg' driver was needed for database querying
6 replies
DTDrizzle Team
Created by 4nZ on 10/23/2024 in #help
Error while using pulling schemas using drizzle-kit
Nope . - The thing is, i can retrieve the schemas individually, into a folder, using the above command. - But then each time i run the command it replaces all the schema with the new one. So that is not a relevant option. - If pull 'ed all the schemas together then i get the error, above
6 replies
DTDrizzle Team
Created by 4nZ on 10/23/2024 in #help
Error while using pulling schemas using drizzle-kit
No description
6 replies