directus-extension-schema-merge
v0.9.2
Published
The directus schema command but it avoids git conflicts
Downloads
21
Maintainers
Readme
Directus CLI Extension: Schema Merge
This extension adds the cli command schema-merge
to the directus except it uses a modified .yml format which should cause fewer merge conflicts during git merges.
Note: This extension is very much under development. Even though I've tested it, I haven't had it in production for a long time. And it is touching your database 🤷🏻♂️.
Usage:
- Install the extension:
npm install directus-extension-schema-merge
. - Export your schema:
directus schema-merge snapshot --output schema.yml
: - Import your schema
directus schema-merge apply schema.yml