© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
DT
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 Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
What's is the recommended way to do DB migrations, when deploying to vercel?
DT
Drizzle Team / help
11mo ago
What's the recommended way to handle joins that aggregate results?
DT
Drizzle Team / help
15mo ago
Is there a recommended way to find or create a record? (postgres)
DT
Drizzle Team / help
3y ago
What's the best way to deploy migrations on production database?
DT
Drizzle Team / help
3y ago