Scroll to navigation

DBIx::Class::Migration::Script::Help::to_version(3) User Contributed Perl Documentation DBIx::Class::Migration::Script::Help::to_version(3)

NAME

DBIx::Class::Migration::Script::Help::to_version - Specify a particular target migration version

SYNOPSIS

    dbic-migration install --to_version 5

DESCRIPTION

V
Integer (default: Current VERSION of Schema)

Used to specify which version we are going to deploy. Defaults to whatever is the most current version you've prepared.

Use this when you need to force install an older version, such as when you are roundtripping prepares while fiddling with a new database version.

When required you can also populate this option with the %ENV variable DBIC_MIGRATION_TO_VERSION.

SEE ALSO

DBIx::Class::Migration, DBIx::Class::Migration::Script, DBIx::Class::Migration::Features, DBIx::Class::Migration::Tutorial

AUTHOR

See DBIx::Class::Migration for author information

COPYRIGHT & LICENSE

See DBIx::Class::Migration for copyright and license information

2020-06-03 perl v5.40.0