Question

Django Managed Postgres DB How to access DB. to CREATE SCHEMA

I’ve deployed Django App on APP PLATFORM successfuly. My App requires the setup of Postgres DB Schemas … used with sub-domains in a multi tenancy application. I have setup a Managed Database [production]. How do I access this database so as to CREATE schemas?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @Softserveapps,

You can go to the database cluster overview page and fetch the Postgres database cluster connection string to connect.

The below links can guide you with connection to Postgres Managed database:

https://docs.digitalocean.com/products/databases/postgresql/how-to/connect/#connect-to-the-database

https://docs.digitalocean.com/products/app-platform/how-to/manage-databases/#connect-to-a-database

I hope this helps!

Regards, Rajkishore