Version 3.0.0
Updated for the Directus 11.
Migration guide:
- First update to Directus 11, including running
npx directus database migrate:latest
- Then install schema-sync
npm install directus-extension-schema-sync@latest -S
- Then copy the new configuration for policies and access, as well as the updated config for permissions and roles from
node_modules/directus-extension-schema-sync/install/schema-sync/directus_config.js
- Paste the updated configuration into your
./schema-sync/directus_config.js
file - Finally run
npx directus schema-sync export
to generate a new snapshot with the latest schema 🎉
Full Changelog: v2.1.2...3.0.0