- SEE ALSO
- COPYRIGHT AND LICENSE
cpantesters-schema - Install, upgrade and examine the CPAN Testers database schema
# prepare a new upgrade script cpantesters-schema prepare --preversion <version> # install a new database cpantesters-schema install # install a database to the given DSN cpantesters-schema install dbi:SQLite:local.db # upgrade an existing database cpantesters-schema upgrade # check what version our database is running cpantesters-schema check # fetch data from the CPAN Testers API to populate our database cpantesters-schema fetch report --dist Yancy@1.023
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 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.
Oriol Soriano <firstname.lastname@example.org>
Doug Bell <email@example.com>
This software is copyright (c) 2018 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.