Migrating to the latest version of drizzle-kit.
drizzle-kit: v0.21.2
drizzle-orm: v0.30.10
No config path provided, using default 'drizzle.config.ts'
Reading config file '/drizzle.config.ts'
You have to provide 'schema' param
why I'm getting this error and how do i provide 'schema' param?
2 Replies
Hey @aspasht! You should define
schema
field in your config:
By the way, you can use new Drizzle kit command drizzle-kit migrate
for applying migrations to the database. Also check docs to find more info about drizzle config.
https://orm.drizzle.team/kit-docs/overview#configurationDrizzle ORM - Overview
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
thanks
working now