Open cyprian-nziim opened 1 week ago
This is as intended. If you wish to exclude certain items from being synced(ie. Created, updated or deleted) then you need to update the filter in the query for that collection in the schema sync config.
Hello @u12206050 , In this case, wouldn't you agree that the "--merge" option may not hold any significance?
Describe the Bug
I was able to create a CICD flow to update my local schema an data to my remote instance when I push to my repo, however each time I modify the local data in a specific collection, all data in my remote instance is reset to my local instance data state deleting all the other items in the collection in my remote instance.
To Reproduce
I have a local directus instance (Installed Via NPM) and PostgreSQL. I do all my local work with this instance when I want to deploy I have the following file in my repo.
My Dockerfile
My docker-compose file
Directus Version
v11.2.1
Hosting Strategy
Self-Hosted (Docker Image)
Database
PostgreSQL
Version
3.0.2
Installed Extension Via
Docker file