R
Railway5mo ago
Cadalt

DB not updating on railway

Hello, In my code, I am getting email details from a txt file, and once an email is used, it is added to the database. On my system, the database is updated when an email is used. However, on Railway, the database is not updated after the email is used. Do you have any idea why this is happening?
7 Replies
Percy
Percy5mo ago
Project ID: N/A
Cadalt
CadaltOP5mo ago
N/a I'm using a sqlite db
Brody
Brody5mo ago
are you aware that changes made to the sqlite database are not synced back to GitHub?
Cadalt
CadaltOP5mo ago
Why is that? What should I use then ? I not that experienced in deploying and all Sorry for these questions 🙏
Brody
Brody5mo ago
Why is that?
because thats just simply not how it works, and not how it could ever work
What should I use then ?
Postgres
Cadalt
CadaltOP5mo ago
Okay thank you I changed to postgre and hosted on railway Now everything works fine thanks
Brody
Brody4mo ago
no problem!
Want results from more Discord servers?
Add your server