R
Railwayβ€’2y ago
magellan

Postgres not showing in every env

A few weeks back I joined Railway for the first time! After that I created multiple environments. I attached a postgres database, and it only went to prod/staging, but not develop. apparently there was a known bug at the time. To work around this, I created a new postgres database that's just used the develop environment, but for production/staging, I now have a duplicate postgres resource. What is the fix so i can have a single postgres resource for all my environments? Would I have to delete postgres causing dataloss? 😦
8 Replies
Percy
Percyβ€’2y ago
Project ID: b5aad86a-a209-4a01-bf5c-7ef70197a003
magellan
magellanOPβ€’2y ago
b5aad86a-a209-4a01-bf5c-7ef70197a003
Percy
Percyβ€’2y ago
Flagging this thread. A team member will be with you shortly.
Ray
Rayβ€’2y ago
Hey! So I looked at your project, and there's only one environment (production) and one Postgres DB. Can you elaborate on what you mean by dupes?
magellan
magellanOPβ€’2y ago
I have three environments. PLus the PR environments. My production has 2 postgres services. my project ID is correct in the chat Are you sure we're talking the same thing?
Ray
Rayβ€’2y ago
Was looking at the wrong project, my bad I might be missing something but what's stopping you from just deleting one of them that is not in use? (or re-creating the develop environment)
magellan
magellanOPβ€’2y ago
Is deleteing the develop the only way to get that to work? Do you not see how that's dangerous for customer working in production? We have a mock data we've create in it we'd have tear it down and reload it from a backup
Ray
Rayβ€’2y ago
lemme see what I can do on my end no promises and worst case is yeah, you'll have to re-spin the develop environment up 😦 We have no easy way to do this, you'll have to spin the dev environment up again, sorry 😭 I'll give your team some credits for the inconvenience + cover any potential usages incurred by those duplicates
Want results from more Discord servers?
Add your server