A library to facilitate migrations for YAML configuration files
This repository was forked from bobdenotter/yaml-migrations and updated to be used with newer versions of bolt/core.
bin/yaml-migrate availableStandalone:
bin/yaml-migrate process -c config.yaml -vThe configuration file can be configured:
bin/yaml-migrate process -c config.yamlRun a single file forcibly, convenient for testing:
bin/yaml-migrate process -v -f m_replace.yaml
Run it in the context of a Bolt installation:
vendor/bolt/yaml-migrations/bin/yaml-migrate process -c vendor/bolt/core/yaml-migrations/config.yaml -v
Tip: Reset the checkpoint and output:
echo '1.0.0' > sample/migrations/checkpoint.txt && rm -rf sample/target/*