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:Jump to 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...
3 Replies
Project ID:
cbec5df5-2cff-4367-a205-9fd1625adcf0
cbec5df5-2cff-4367-a205-9fd1625adcf0
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