© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•13mo ago•
3 replies
veeque

What is the recommended way to have a staging and a production environment?

For the record, I'm using Cloudflare D1. I know how to set up the
wrangler.json
wrangler.json
file such that based on the environment I use a different database (same binding, just different database IDs). How can I make it so the
drizzle.config.ts
drizzle.config.ts
file uses a different
.env
.env
file based on the environment being used?
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

What's is the recommended way to do DB migrations, when deploying to vercel?
Drizzle TeamDTDrizzle Team / help
11mo ago
What's the recommended way to handle joins that aggregate results?
Drizzle TeamDTDrizzle Team / help
15mo ago
Is there a recommended way to find or create a record? (postgres)
Drizzle TeamDTDrizzle Team / help
3y ago
What's the best way to deploy migrations on production database?
Drizzle TeamDTDrizzle Team / help
3y ago