Skip to content

bolt-oss/yaml-migrations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yaml-migrations

A library to facilitate migrations for YAML configuration files

Run migrations

Standalone:

bin/yaml-migrate process -c config.yaml -v

Run a single file forcibly, convenient for testing:

bin/yaml-migrate process -c config.yaml -v -f m_replace.yaml

Run it in the context of a Bolt installation:

vendor/bobdenotter/yaml-migrations/bin/yaml-migrate process -c vendor/bolt/core/yaml-migrations/config.yaml -v

Tip: Reset the checkpoint:

echo '1.0.0' > sample/migrations/checkpoint.txt

About

A library to facilitate migrations for YAML configuration files

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%