Demo repo for using drizzle ORM and drizzle studio using neon with a postgres, serverless db.
- A
scripts/createTodos.ts
file to auto genereate a bunch of db records.
Run typescript scripts without have to compile them to javascript using tsx.
Note: Must have
"type": "module"
in thepackage.json
.
npx tsx ./scripts/<script>.ts to run a script