10 months ago
I have two services on my project, one .net api and a postgres database. Locally my database have 9 tables after migration but after deployong the projects on Railway my postgres db has no table. I need some help to make it work. Did I miss some variables for the connection?
7 Replies
10 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 10 months ago
brody
Please stop opening duplicate threads or you will be banned for spamming.
10 months ago
Sorry for that, I just realize that my antivirus block the site each time I click on the Publish button, that wy the threads are duplicates. Is there a way to delete the duplicates one, please?
brody
I've deleted them.
10 months ago
Thank you!
9 months ago
You should be able to see in your apps deploy logs for database related errors. That would give you an idea of what is wrong.
9 months ago
If there are no tables then your migrations did not run to create them. How are you running them?
9 months ago
Railway has documentation on running migrations or seeding data that can help https://docs.railway.com/guides/pre-deploy-command
Quite sure in this case your migrations did not end up running so could you talk more about how you are running this?