a year ago
I deployed the project (telegram bot) through GitHub and there is a .dp file there, all changes on the server are saved, but when I want to download the database and look, it is not updated on GitHub, how can I see all the changes in the database??
0 Replies
a year ago
GitHub to railway is a one way train, are you using a volume?
a year ago
you would need to use a volume for data persistence
a year ago
a year ago
its not going to allow you to see the database but it will enable data persistence
a year ago
that would not be a valid path for a volume mount
a year ago
where do you write your database file to?
user_data, bot.py, worker
a year ago
user_data is a folder?
a year ago
you would need to move it into a subfolder like a data folder
a year ago
then you can mount the volume to /app/data
bot.py
worker
-----folder data----
user_data.db
?
a year ago
.
├── bot.py
├── worker
└── data/
└── user_data.dba year ago
yes