Directus: I added env variable on Railway when it Redeployed Directus, it resets my Database

How can I roll it back? I'm new to railway and hope somebody helps
Solution:
Railway’s storage is ephemeral, meaning it’s wiped on each deploy. However, if you store your data in a volume, the data will persist between deploys. https://docs.railway.app/reference/volumes...
Railway Docs
Volumes | Railway Docs
Documentation for Railway
Jump to solution
7 Replies
Percy
Percy11mo ago
Project ID: e31a5952-7960-46fd-ae76-463584cfa70b
somemartin
somemartinOP11mo ago
e31a5952-7960-46fd-ae76-463584cfa70b
Adam
Adam11mo ago
Unfortunately, you won’t be able to roll it back. Are you using a sqlite database?
Solution
Adam
Adam11mo ago
Railway’s storage is ephemeral, meaning it’s wiped on each deploy. However, if you store your data in a volume, the data will persist between deploys. https://docs.railway.app/reference/volumes
Railway Docs
Volumes | Railway Docs
Documentation for Railway
Adam
Adam11mo ago
I don’t recommend sqlite databases for production use. Additionally, it’s a bit complex to set up with volumes. swapping to a separate postgres or mariadb service would be better.
somemartin
somemartinOP11mo ago
Thanks, i changed it already. Looks like I have to start over. luckily I'm just starting out
Adam
Adam11mo ago
glad to hear it, sorry it can’t be rolled back.
Want results from more Discord servers?
Add your server