Skip to content

Commit f7db660

Browse files
committed
Add readme
1 parent 9adcca6 commit f7db660

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Directus CLI Extension: Schema Sync
2+
3+
This extension adds the cli command `schema-sync` to the directus except it uses a modified .yml format which should cause fewer merge conflicts during git merges.
4+
5+
**Note:** This extension is very much under development.
6+
Even though I've tested it, I haven't had it in production for a long time.
7+
And it is touching your database 🤷🏻‍♂️.
8+
9+
## Usage:
10+
11+
1. Install the extension: `npm install directus-extension-schema-sync`.
12+
2. Export your schema: `directus schema-sync snapshot --output schema.yml`:
13+
3. Import your schema `directus schema-sync apply schema.yml`

0 commit comments

Comments
 (0)