a year ago
GM, i have just recently started using railway for my strapi backend and db. I have followed some online guides and found that after committing a change, the data from the db is erased. I have read all the posts in the help channel that relate to this, but i cant seem to pinpoint the reason.
I have then gone and cloned the strapi template railway has and that does not seem to wipe the data after every commit. I wanted to compare my deployment against that to see the differences, but I could not find anything. Not sure if i need to make a help post or if someone has a link to a post I have missed.
Can someone help me understand what is going on here, so i can create a new strapi backend and db (not the template) where it does not reset after every commit.
Thanks!
0 Replies
a year ago
are you running strapi in develop mode?
nope. just went through and checked all the deployment logs, they all run in production
a year ago
may i ask why dont you wanna use the template?
a year ago
sqlite
a year ago
use template 🙂
I have spent 2 weekends configuring package versions because dependencies break. I am using nodejs 18, and i know the template is on 20, I am worried i will lose another 2 weekend
a year ago
use node 20 then
a year ago
try node 18 then
a year ago
change it
a year ago
sqlite is the default
a year ago
sounds about right
a year ago
no problem!