- Strapi Version: 4.1.8
- Operating System: Mac OS
- Database: PostrgreSQL
- Node Version: 16.13.1
- NPM Version: 8.1.2
- Yarn Version:
On developing we are connecting to the production DB.
Configured multiple collections and single types. Deployed on prod and it works as expected. Added a few instances to collection.
But after runs
npm run develop from some old branch, that hasn’t new data structures it deletes all instances from prod collections that was not represents in current branch.
Why it happens? How to avoid this in future?