How to use drizzle-seed to seed data?
I tried to use the drizzle-seed library to seed my local DB, but I get an error.
Libraries I'm using:
"drizzle-orm": "^0.36.4",
"drizzle-seed": "^0.1.2",
This is my code:
Error I get with the postgres driver:
Any help would be appreciated!
2 Replies
I also get this length error too. I will see if I can find anything else and update here
I have tried node-postgres and postgres drivers and it still gives the same error 😬
Tested with drizzle-orm 0.36.4
I am at a bit of a loss to be honest, it throws here, because it is trying to access a property "values" on an instance of SQL which does not exist
I thought this may have come from the constraints and indexes part of defining the table but I commented them all out and I still get the same error