R
Railway2y 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
Percy2y ago
Project ID: N/A
Brody
Brody2y ago
the data view for plugins is not the best, please don't rely on it for data observations or data entry
CM
CMOP2y ago
Okay but how can I query the data if I dont have a table
CM
CMOP2y ago
Brody
Brody2y ago
please don't rely on either the data or query tabs for plugins use railway connect Postgres
CM
CMOP2y ago
alright where do I use that command?
Brody
Brody2y ago
in a local terminal you can find installation instructions for the railway cli here https://docs.railway.app/develop/cli
CM
CMOP2y 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
Brody2y ago
something like pgadmin might suit you more
CM
CMOP2y ago
okay I will look into it thanks. and there is not future fix for the web UI?
Brody
Brody2y 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
CMOP2y ago
alright thank you
Want results from more Discord servers?
Add your server