Issue with sql github file
Hey I have an issue, I have a sql file database, everything works fine but when I push something new to my current deployed branch, the database get's replaced by the github one (where data added while the server ran isn't written)
2 Replies
Project ID:
866079ee-0ce9-4a7d-8282-2e56ee9e6849
866079ee-0ce9-4a7d-8282-2e56ee9e6849
is it possible to recover the server side sql file ?
so I could just push the gh repo with the full database ?
I could get a sql file by doing python manage.py dumpdata >db.sql
so I would like to keep the db.sql file "inside" the the server
can I acces my server files ?
I could maybe stop the server, and add this command when server starts
But I think this would create s new sql file inside the docker so it wouldn't actually solve the issue