R
Railway•2y ago
zimapurple

How do I set up PR environments to have a postgres service?

I must have messed something up yesterday, as this was working, but now isn't. When I open a new PR, railway will notice and build a PR environment. Previously these had a Postgres service that would 'appear' in the environment, and therefore enable the app to connect. Now the service isn't appearing, so the GH repo deploys but crashes instantly. What have I broken? development and production have both got a DB service, though none of the pr environments do.
7 Replies
Percy
Percy•2y ago
Project ID: 8a43b0e6-5720-40f3-8ee1-27f04ba76646
zimapurple
zimapurpleOP•2y ago
8a43b0e6-5720-40f3-8ee1-27f04ba76646
magellan
magellan•2y ago
I have a similar issue to this too. I am a user new user from yesterday new PR environments (and even brand new environments togehter) never showed my postgres database
Ray
Ray•2y ago
What have I broken?
nothing! Sounds like a bug on our end, I've raised the issue 🙂 will keep ya posted Hey, this should be fixed now. Try again?
magellan
magellan•2y ago
Is there a way to have a PR branch Postgres copy the data from the develop branch? We did a woraround last night, but not that this is fixed, we're trying to figure out how to figure that
Ray
Ray•2y ago
not automatically; we don't copy data over what's your workaround?
magellan
magellan•2y ago
We manually set all PR branches to use the develop branch's environment's DB variables
Want results from more Discord servers?
Add your server