R
Railway6mo ago
Kyran

Database updating on Railway but not on Github

I have been adding blogs to my database every day now, I just found out that on github nothing has changed, but railway it has changed. I think that commiting something to github (to that backend repo) will cause a rebuild in railway and revert to that old db.db, is there any way I can sync this up without causing a rebuild?
Solution:
Github to Railway is a one way path, there is no way to sync it. If you are using sqlite you need to be storing the database file in a volume - https://docs.railway.app/guides/volumes...
Jump to solution
3 Replies
Percy
Percy6mo ago
Project ID: cbec5df5-2cff-4367-a205-9fd1625adcf0
Kyran
KyranOP6mo ago
cbec5df5-2cff-4367-a205-9fd1625adcf0
Solution
Brody
Brody6mo ago
Github to Railway is a one way path, there is no way to sync it. If you are using sqlite you need to be storing the database file in a volume - https://docs.railway.app/guides/volumes
Want results from more Discord servers?
Add your server