Skip to content

cpt-n3mo/directus_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Script to apply snapshots with groups to directus

when using groups, to order the collections, and a snapshot is made it will fail to apply. This script first removes all groups from the snapshot, and then applies it to the database, it then updates the database with the original snapshot including groups, this will get around the bug.

usage

copy your snapshotfile to the script directory. apply snapshot using following command. node applySnapshot.js ./snapShot.json

note

this script only works on json files

About

directus_snapshot_script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published