R
Railway16mo ago
CM

Prisma database works but Railway Tables UI has no tables

I had reset my database using npx prisma migrate reset and it works with my new schema but I noticed that the Railway UI says I have no tables. This is strange because before I reset it I had all my tables and I could see the data, but now after resetting and migrating to new database schema, I can access new data but I have no tables in the UI
Solution:
something like pgadmin might suit you more
Jump to solution
13 Replies
Percy
Percy16mo ago
Project ID: N/A
Brody
Brody16mo ago
the data view for plugins is not the best, please don't rely on it for data observations or data entry
CM
CM16mo ago
Okay but how can I query the data if I dont have a table
CM
CM16mo ago
Brody
Brody16mo ago
please don't rely on either the data or query tabs for plugins use railway connect Postgres
CM
CM16mo ago
alright where do I use that command?
Brody
Brody16mo ago
in a local terminal you can find installation instructions for the railway cli here https://docs.railway.app/develop/cli
CM
CM16mo ago
I'm a beginner so I may get this entirely wrong but I don't use the cli because its handled by prisma, are you saying that I should just do the queries in there instead and there should be a table there for me?
Solution
Brody
Brody16mo ago
something like pgadmin might suit you more
CM
CM16mo ago
okay I will look into it thanks. and there is not future fix for the web UI?
Brody
Brody16mo ago
but if you can do everything you need with prisma then for sure just use prisma not any time soon, its not that big of a priority since tools like pgadmin exist
CM
CM16mo ago
alright thank you
Want results from more Discord servers?
Add your server