This is a proof of concept for making better-auth generation command work with Cloudflare environment using cf-script
- Clone this repo
- Run
bun install
(or using your favorite package manager) - Run
bun run generate-better-auth-schemas
(or using your favorite package manager) - Check out the generated file
src/db/better-auth-schemas.ts