I´m having some trouble sharing a postgres database between my two Heroku apps.
I want the database of App A to be shared with App B, so I attached the App A postgres to App B, then I deleted App B´s original database.
However, trying to connect to from App B to the database results in this message:
PG::ConnectionBad: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I have tried to restart the dynos and such but still no luck. Does anyone have any ideas on how to solve this?