Relative Content

Tag Archive for typescripttsconfigts-nodedrizzledrizzle-orm

Generate drizzle migrations in NodeNext project

I want to use Drizzle ORM in my api. The api is a workspace in a monorepo build with Turborepo.
I want to generate migrations with drizzle-kit, with the following command drizzle-kit generate:pg.
In my tsconfig I configured module and moduleResolution to ‘NodeNext’, because i transpile my ts code to JavaScript with tsc. My Drizzle schema’s are split up in multiple files, so they gets more readable.