You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2026. It is now read-only.
# Your wrangler.toml file should look something like this:
name = "nextjs-d1-drizzle-cloudflare-pages"
compatibility_date = "2024-11-11"
compatibility_flags = ["nodejs_compat"]
pages_build_output_dir = ".vercel/output/static"
# WARNING: When running a production build locally using Wrangler, be aware that the .env file may be omitted. Therefore, ensure that you have the same environment variables in your wrangler.toml file.
# However, you don't have to include Drizzle environment unless you want to access `drizzle-kit` commands in the deployed code.
[vars]
[[d1_databases]]
binding = "DB" # i.e. available in your Worker on env.DB
database_name = "nextjs-d1-drizzle-cloudflare-pages" # When you create your D1 DB, you choose the name