SQLite Goes Read Only Once Deployed...Help

My simple PHP app runs an SQLite file in a /data folder and it's working fine locally. But when I deploy Railway seems to change my permissions on me. No where in the UI lets me know what's been changed. What should I change?
5 Replies
Percy
Percy7mo ago
Project ID: e22b2220-7b62-4918-980c-82f71a45edda
reediredale
reediredale7mo ago
e22b2220-7b62-4918-980c-82f71a45edda
Brody
Brody7mo ago
honestly id recommend moving to postgres instead, going to be a lot less head aches
reediredale
reediredale7mo ago
I have no idea how to connect to postgres. Are there any docs specific to my case?
Brody
Brody7mo ago
nothing would be specfic to railway in that case, im sure there are many great tutorials for using postgres in php out there