DB not updating on railway
cadalt0
TRIALOP

2 years ago

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?

8 Replies

cadalt0
TRIALOP

2 years ago

N/a


cadalt0
TRIALOP

2 years ago

I'm using a sqlite db


2 years ago

are you aware that changes made to the sqlite database are not synced back to GitHub?


cadalt0
TRIALOP

2 years ago

Why is that?
What should I use then ?
I not that experienced in deploying and all
Sorry for these questions 🙏


2 years 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


cadalt0
TRIALOP

2 years ago

Okay thank you


cadalt0
TRIALOP

2 years ago

I changed to postgre and hosted on railway
Now everything works fine thanks


2 years ago

no problem!


Loading...