Currently, I’m experiencing an issue where every time I make changes to Git and redeploy Strapi to the cloud, it deletes all the data. I’m not using any database configuration on Strapi Cloud, and I’d like to know if this is expected behavior.
Moreover, I’d like to know if it’s possible to use an external database or keep the data after each deployment. If there’s a solution to this problem, please let me know.
When I rebuild the project, it is likely that the Strapi instance is completely reset to its default state, which includes deleting all data and resetting to the initial state of the application (i.e. fresh Strapi installation).
No I only use one file for it, somehow strapi is not picking up the sql database configurations which I defined in database.js, instead it is storing all schema/data into sqlite, which results in deleting data