The Railway PostgreSQL plugin allows you to provision and connect to a PostgreSQL database with zero configuration.
When you run
railway run in a project with the Postgres plugin installed, we inject several environment variables.
Many libraries will automatically look for the
DATABASE_URL variable and use
it to connect to PostgreSQL. You can also manually use these variables however you
The Postgres plugin uses the timescale/timescaledb-postgis:latest-pg13 docker image.
Timescale and PostGIS
You must enable the extensions in every database you want to use them. For example,
Edit this file on GitHub