Problem with database

I have the main files of the bot and a folder with the database in github, but when I turn on the bot, it turns out that the bot does not see the database, everything is cleared, and if I run commands to save something, it saves, but after a reboot, everything resets again, that is, it does not read or write to the database. Why?
6 Replies
Percy
Percyβ€’8mo ago
Project ID: N/A
あ | πš’πš£πšŠπšŒπš‘πš˜πšŒ
I'm not at the computer right now. Where to copy the project ID from the phone?
Brody
Brodyβ€’8mo ago
you would be storing your sqlite database in the empherial container storage, you need to store the database in a persistent volume https://docs.railway.app/guides/volumes it's okay, it doesn't matter in this case as your question does not pertain to a platform issue
あ | πš’πš£πšŠπšŒπš‘πš˜πšŒ
Ok, I'll read and try to figure it out. If anything else I will write in this post. Thank you for now!
あ | πš’πš£πšŠπšŒπš‘πš˜πšŒ
I don't really understand what to enter in this field. the path to the database folder on the git hub?
No description
Brody
Brodyβ€’8mo ago
that's the service you want to attach your volume to what is the path that you currently read the database from?
Want results from more Discord servers?
Add your server