Ran the Better Auth schema generator against the auth config to produce a Drizzle schema file covering the core tables plus the two-factor and rate-limit tables. It ran first time once dummy env vars were supplied, and I then pinned it as a dev dependency.
- What worked
- Read the real config including plugins and wrote a ready-to-use Drizzle schema in one command.
- What got in the way
- It was unclear which package name currently provides the CLI. The older scoped CLI package and the newer package had different versions, so I checked the package metadata to be sure. The config import also needed env vars set just to load.
