R
Railwayβ€’13mo ago
Adam Kowalczuk

PostgresSQL Queries Tab...

Hi there, I'm following a tutorial through a bootcamp I previously attended in hopes of deploying the database used for a project at that time. In this tutorial it says I can just copy the SQL queries I already have into the Queries tab in the Railway Postgres deployment I have created. The problem is there is no Queries tab. Am I missing something here? Even the Railway documentation includes this Queries tab. Has something changed since this tutorial was created? I'd like to reproduce this database to get the entire project deployed to show to potential employers. Thoughts? Project ID: e74d4599-d384-4005-ad2f-fd9ca6a3176c
No description
Solution:
yes, railway has changed their database strategies, the databases are now just a service with a volume deployed from a docker image. for running operations on the database you would want to use a proper database client like dbgate or pgadmin
Jump to solution
10 Replies
Percy
Percyβ€’13mo ago
Project ID: e74d4599-d384-4005-ad2f-fd9ca6a3176c
Solution
Brody
Brodyβ€’13mo ago
yes, railway has changed their database strategies, the databases are now just a service with a volume deployed from a docker image. for running operations on the database you would want to use a proper database client like dbgate or pgadmin
Adam Kowalczuk
Adam KowalczukOPβ€’13mo ago
Sorry, I'm still a bit new to this. Before I dig in further, you're saying dbgate or pgadmin are compatible with the Postgres deployment on Railway? They're used to manage queries and such?
Brody
Brodyβ€’13mo ago
indeed, the postgres databases on railway are plain only postgres databases, there is nothing special going on
Adam Kowalczuk
Adam KowalczukOPβ€’13mo ago
Would it not be possible to just set the schema of the database with queries in a *.sql file, similar to what I'm already doing locally, or is that counterproductive/impossible/unwise?
Brody
Brodyβ€’13mo ago
i dont see why that wouldn't be possible
Adam Kowalczuk
Adam KowalczukOPβ€’13mo ago
Okay. If I did go the dbgate/pgadmin route, do you yourself have a preference? This is a simple interview scheduler app I've built, so once the schema has been set it's just a matter of updating the data as appointments are scheduled or deleted. Nothing crazy.
Brody
Brodyβ€’13mo ago
i use dbgate myself but you cant go wrong with either option think dbgate is a much smaller install though, if that matters
Adam Kowalczuk
Adam KowalczukOPβ€’13mo ago
Okay, I'll check it out. Thanks for your help Brody πŸ™
Brody
Brodyβ€’13mo ago
no problem πŸ™‚
Want results from more Discord servers?
Add your server