NAME

migrate - upgrade / downgrade project

VERSION

This document describes migrate version v0.2.6

USAGE

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

DESCRIPTION

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.

OPTIONS

-B

Define command to be run "on" in App::migrate BACKUP event.

-R

Define command to be run "on" in App::migrate RESTORE event.

-V

Define command to be run "on" in App::migrate VERSION event.

-f

"load" in App::migrate given file(s).

-p

Select upgrade path. Usually needed only when there are several possible upgrade paths for given <from_ver> <to_ver>.

-c

Check syntax of given migrate file.

SUPPORT

Bugs / Feature Requests

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.

Source Code

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

Resources

AUTHOR

Alex Efros <powerman@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015- by Alex Efros <powerman@cpan.org>.

This is free software, licensed under:

The MIT (X11) License