blacksmith migrations run
This command runs acknowledged migrations by executing their
$ blacksmith migrations run \ --integration warehouse 1 migration to run for warehouse: - 20210809135841.init.up.sql (new) Blacksmith will run the migrations as shown above. Do you confirm? Only 'yes' will be accepted to confirm. > yes Executing migrations: -> Executing 20210809135841.init.up.sql... Success!
--integration [integration]: Integration to run the migrations for. In the following example, the migrations for the integration
warehousewill be run.
$ blacksmith migrations run \ --integration warehouse
--version [time]: Time representation up to which the migrations shall be run. In the following example, every migrations up to the version
20210422135835(including) will be run, ordered by version from oldest to newest.
$ blacksmith migrations run \ --integration warehouse \ --version 20210422135835
--auto-approve: Skip interactive approval before running migration(s). This option is useful for running migrations in a non-interactive environment, such as inside a CI / CD platform.
$ blacksmith migrations run \ --integration warehouse \ --auto-approve
If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the repository. Once we merge it, the changes will be reflected on the website the next time it is deployed.
Thank you for your contributions!