cpantesters-schema - Install, upgrade and examine the CPAN Testers database schema
version 0.008
# prepare a new upgrade script cpantesters-schema prepare --preversion <version> # install a new database cpantesters-schema install # upgrade an existing database cpantesters-schema upgrade # check what version our database is running cpantesters-schema check
This script works with DBIx::Class::Schema::Versioned to prepare a new database upgrade script, install the database, upgrade the database, or check the database version and available upgrades.
The command to run. One of check, install, upgrade, prepare.
check
install
upgrade
prepare
check will show the current database version and the list of potential versions. install will install a new database from scratch or prepare an existing database to be upgraded. upgrade will upgrade the current database. prepare is run during development to prepare a new upgrade script.
The previous version. Used by the prepare command to determine which upgrade script to make.
DBIx::Class::Schema::Versioned
Oriol Soriano <oriolsoriano@gmail.com>
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2016 by Oriol Soriano, Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install CPAN::Testers::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Testers::Schema
CPAN shell
perl -MCPAN -e shell install CPAN::Testers::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.