Workflow: use production database for preview builds?

Hey all, creating a CRM using planetscale and just adding some env variables to vercel and notice there are [development, preview, production] toggles for the keys. what is the common practise for a 'preview' environment, should i show my production database or the development database? Both (and determine env vars based on my own logic)?
Solution:
iirc you're supposed to use branches
Jump to solution
2 Replies
Jim
JimOP14mo ago
Maybe aswell as a live dev preview I should also make a staging branch which mirrors the dev, just with production env vars...
Solution
NickServ
NickServ14mo ago
iirc you're supposed to use branches
Want results from more Discord servers?
Add your server