Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smonn/directus-migrate
Unofficial migration CLI for Directus CMS
https://github.com/smonn/directus-migrate
Last synced: 7 days ago
JSON representation
Unofficial migration CLI for Directus CMS
- Host: GitHub
- URL: https://github.com/smonn/directus-migrate
- Owner: smonn
- License: mit
- Created: 2021-07-19T20:05:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-05T22:50:39.000Z (over 3 years ago)
- Last Synced: 2024-12-12T09:59:30.264Z (24 days ago)
- Language: TypeScript
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# directus-migrate
> - Only migrates the data models for `collections`, `fields`, and `relations`. No items (data) is migrated.
> - Does not remove data models.
> - Use with caution, backup your data before attempting this.Usage:
```sh
npx directus-migrate config.json
```Example config:
```json
{
"dry": false,
"source": {
"url": "https://directus-source.domain.tld",
"token": "source admin user token"
},
"target": {
"url": "https://directus-target.domain.tld",
"token": "target admin user token"
}
}
```