Generate Better Auth schema
mainThis project uses Better Auth for authentication. You must generate the authentication database schema using the Better Auth CLI before authentication features will work.
Run the following command to generate the schema:
pnpm --filter @acme/auth generateDetails:
- Config source:
packages/auth/script/auth-cli.ts(a CLI-only configuration file). - Output:
packages/db/src/auth-schema.ts(a Drizzle-compatible schema for authentication tables). - Runtime usage: For actual application logic, use the configuration located in
packages/auth/src/index.tsrather than the script file.