migrate - upgrade / downgrade project
This document describes migrate version v0.2.6
migrate [-B <cmd>] [-R <cmd>] [-V <cmd>] [[-f <file>] ...] <from_ver> <to_ver> migrate [-B <cmd>] [-R <cmd>] [-V <cmd>] [[-f <file>] ...] -p <ver1> <ver2> ... migrate -c [<file>] migrate -h|--help
To use this tool to migrate your project between any versions you should provide:
- one or more *.migrate files, which will define known versions of your project and commands needed to migrate between these versions - command which will create backup of your project (and keep these backups to make it possible to restore any of previous project versions) - command which will restore project from backup of any version (if such backup exists) - (optional) command which will record somewhere current version of project after each successful migration
See App::migrate for details.
Define command to be run "on" in App::migrate BACKUP event.
Define command to be run "on" in App::migrate RESTORE event.
Define command to be run "on" in App::migrate VERSION event.
"load" in App::migrate given file(s).
Select upgrade path. Usually needed only when there are several possible upgrade paths for given <from_ver> <to_ver>.
<from_ver> <to_ver>
Check syntax of given migrate file.
Please report any bugs or feature requests through the issue tracker at https://github.com/powerman/migrate/issues. You will be notified automatically of any progress on your issue.
This is open source software. The code repository is available for public review and contribution under the terms of the license. Feel free to fork the repository and submit pull requests.
https://github.com/powerman/migrate
git clone https://github.com/powerman/migrate.git
MetaCPAN Search
https://metacpan.org/search?q=App-migrate
CPAN Ratings
http://cpanratings.perl.org/dist/App-migrate
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/App-migrate
CPAN Testers Matrix
http://matrix.cpantesters.org/?dist=App-migrate
CPANTS: A CPAN Testing Service (Kwalitee)
http://cpants.cpanauthors.org/dist/App-migrate
Alex Efros <powerman@cpan.org>
This software is Copyright (c) 2015- by Alex Efros <powerman@cpan.org>.
This is free software, licensed under:
The MIT (X11) License
To install App::migrate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::migrate
CPAN shell
perl -MCPAN -e shell install App::migrate
For more information on module installation, please visit the detailed CPAN module installation guide.