check postgresql url code example
Example 1: database url postgres
DATABASE_URL = "postgres://YourUserName:YourPassword@localHost:5432/YourDatabaseName";
Example 2: postgresql database url
PG_URI=postgres://postgres:root@localhost:5432/campus
DATABASE_URL = "postgres://YourUserName:YourPassword@localHost:5432/YourDatabaseName";
PG_URI=postgres://postgres:root@localhost:5432/campus